2
Solved

Unable to continue after SelectionBuilds screen on tfs 2015 sp1 on-premises : "index was outside the bounds of the array"

Hi,

I am unable to continue after SelectionBuilds screen.

- Server: on tfs 2015 sp1 on-premises

- Client: win10 updated (11/16).

- Catlight: v2.1.3 Beta

 

Process:

=> I go the config connection screen.

=> I access to all my projects and builds in the SelectionBuilds screen.

=> I select 0 or n projects.

=> Any case after, i have got error screen with: Offline "index was outside the bounds of the array"

I try the same action on an win8 with same user and connection string and it's work...

Thanks by advance.

3 replies

Hi Julien,

Please send us all the logs from %appdata%\catlight\logs to [email protected] , so we can investigate this further.

Here we go :)

 2016-12-07 08:37:34.0590 | DEBUG |             TfsController | 39 | Checking connection to 'http://tfs.dev.local:8080/tfs/projets' 
2016-12-07 08:37:34.1649 | DEBUG | TfsController | 6 | Received OK status code
2016-12-07 08:37:34.1719 | INFO | EventLogger | 6 | {"e":"Tfs.UpdaingSettings","p":{"CredentialsType":"WindowsIntegrated","AutoDetectSettings":true,"IsVSO":false}}
2016-12-07 08:37:34.2505 | DEBUG | MultiVersionTfsAdapter | 32 | 11e4 | Using TFS 2015 / VSO adapter
2016-12-07 08:37:34.3315 | DEBUG | ConfigurationManager | 17 | Saving settings: Web.Services.ServerSettings
2016-12-07 08:37:34.4191 | DEBUG | ConfigurationManager | 34 | Web proxy not configured.
2016-12-07 08:37:34.5842 | INFO | EventLogger | 28 | {"e":"Builds.EditBuildSettings","p":{"ModuleType":"tfs"}}
2016-12-07 08:37:35.2159 | INFO | EventLogger | 28 | {"e":"Builds.EditMonitoringSettings","p":{"ModuleType":"tfs"}}
2016-12-07 08:37:35.2826 | DEBUG | MultiVersionTfsAdapter | 23 | 11e4 | Using TFS 2015 / VSO adapter
2016-12-07 08:37:35.2826 | DEBUG | Tfs2015Adapter | 23 | 11e4 | Configuring TFS adapter for 'http://tfs.dev.local:8080/tfs/projets'
2016-12-07 08:37:35.2826 | DEBUG | MultiVersionTfsAdapter | 23 | 11e4 | TFS adapter initialized
2016-12-07 08:37:35.2986 | DEBUG | Tfs2015Adapter | 23 | 11e4 | Getting tfs collection properites
2016-12-07 08:37:35.4199 | DEBUG | Tfs2015Adapter | 23 | 11e4 | Loading projects
2016-12-07 08:37:38.3845 | DEBUG | ConfigurationManager | 25 | Saving settings: Web.Services.LocalState
2016-12-07 08:37:38.4387 | DEBUG | ConfigurationManager | 28 | Web proxy not configured.
2016-12-07 08:37:42.6804 | INFO | EventLogger | 39 | {"e":"Builds.SetMonitoringSettings","p":{"ModuleType":"tfs"}}
2016-12-07 08:37:42.6845 | DEBUG | ConfigurationManager | 39 | Saving settings: Web.Services.ServerSettings
2016-12-07 08:37:42.6845 | DEBUG | SharedStateManager | 28 | Operation cancelled
2016-12-07 08:37:42.7065 | DEBUG | DashboardManager | 39 | Server state changed. Dashboard revision: 13
2016-12-07 08:37:42.7065 | DEBUG | ConfigurationManager | 39 | Web proxy not configured.
2016-12-07 08:37:47.6923 | DEBUG | SharedStateManager | 28 | Getting updates for 1 spaces
2016-12-07 08:37:51.1923 | WARN | ServerAdapterPoller | 34 | 11e4 | Exception in scheduled updater System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Web.Services.Tfs.Tfs2015Adapter.ParseUser(String userName) in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\Tfs2015Adapter.cs:line 447
at Web.Services.Tfs.Tfs2015Adapter.Convert(WorkItemDto dto) in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\Tfs2015Adapter.cs:line 413
at Web.Services.Tfs.Tfs2015Adapter.<GetWorkItems>d__11.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\Tfs2015Adapter.cs:line 214
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Web.Services.Tfs.Tfs2015Adapter.<GetWorkItemQueryState>d__10.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\Tfs2015Adapter.cs:line 183
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Web.Services.Tfs.TfsAdapterBase.<GetState>d__11.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\TfsAdapterBase.cs:line 172
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Web.Services.Tfs.MultiVersionTfsAdapter.<GetState>d__9.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Tfs\MultiVersionTfsAdapter.cs:line 70
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Web.Services.Builds.ServerAdapterPoller.<UpdateState>d__38.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Builds\ServerAdapterPoller.cs:line 212
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Web.Services.Builds.ServerAdapterPoller.<UpdaterTask>d__40.MoveNext() in C:\Build\2\_work\2\s\Desktop\LocalWeb\Services\Builds\ServerAdapterPoller.cs:line 295
2016-12-07 08:38:04.5366 | DEBUG | DashboardManager | 36 | Server state changed. Dashboard revision: 14

Thanks for the logs. Looks like we cannot parse "changed by" field of one of the work items. We expect it to be in format "user name <domain\\login>", but it appears to be in some different format. We'll skip such names in the next update.

This should be fixed in 2.1.4. 

https://catlight.io/downloads