{"action":"created","issue":{"url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/1","repository_url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater","labels_url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/1/comments","events_url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/1/events","html_url":"https://github.com/BlueBasher/WorkItemUpdater/issues/1","id":234735766,"number":1,"title":"StackOverflowException","user":{"login":"RelatedItemSearchUser","id":28885130,"avatar_url":"https://avatars3.githubusercontent.com/u/28885130?v=3","gravatar_id":"","url":"https://api.github.com/users/RelatedItemSearchUser","html_url":"https://github.com/RelatedItemSearchUser","followers_url":"https://api.github.com/users/RelatedItemSearchUser/followers","following_url":"https://api.github.com/users/RelatedItemSearchUser/following{/other_user}","gists_url":"https://api.github.com/users/RelatedItemSearchUser/gists{/gist_id}","starred_url":"https://api.github.com/users/RelatedItemSearchUser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RelatedItemSearchUser/subscriptions","organizations_url":"https://api.github.com/users/RelatedItemSearchUser/orgs","repos_url":"https://api.github.com/users/RelatedItemSearchUser/repos","events_url":"https://api.github.com/users/RelatedItemSearchUser/events{/privacy}","received_events_url":"https://api.github.com/users/RelatedItemSearchUser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-09T06:45:03Z","updated_at":"2017-07-06T04:58:53Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using the WorkItemUpdater as part of a TaskGroup for a Build Definition.\r\nI am getting the following error:\r\n\r\n2017-06-09T06:27:46.2874550Z ##[section]Starting: WorkItem Updater\r\n2017-06-09T06:27:53.7082768Z Updating WorkItem 29040\r\n2017-06-09T06:27:54.0871103Z \r\n2017-06-09T06:27:54.0871103Z Process is terminated due to StackOverflowException.\r\n2017-06-09T06:27:55.0158810Z ##[error]Exit code 255 returned from process: file name 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe', arguments '-NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command \". ([scriptblock]::Create('if (!$PSHOME) { $null = Get-Item -LiteralPath ''variable:PSHOME'' } else { Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\\Microsoft.PowerShell.Management\\Microsoft.PowerShell.Management.psd1'')) ; Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\\Microsoft.PowerShell.Utility\\Microsoft.PowerShell.Utility.psd1'')) }')) 2>&1 | ForEach-Object { Write-Verbose $_.Exception.Message -Verbose } ; Import-Module -Name 'E:\\agent\\_work\\_tasks\\WorkItemUpdater_7164116a-ed17-48be-9c53-b440b2b1dd2e\\1.3.0\\ps_modules\\VstsTaskSdk\\VstsTaskSdk.psd1' -ArgumentList @{ NonInteractive = $true } -ErrorAction Stop ; $VerbosePreference = 'SilentlyContinue' ; $DebugPreference = 'SilentlyContinue' ; Invoke-VstsTaskScript -ScriptBlock ([scriptblock]::Create('. ''E:\\agent\\_work\\_tasks\\WorkItemUpdater_7164116a-ed17-48be-9c53-b440b2b1dd2e\\1.3.0\\task.ps1'''))\"'.\r\n2017-06-09T06:27:55.0203460Z ##[section]Finishing: WorkItem Updater\r\n\r\nIs there anything I can do to troubleshoot this?"},"comment":{"url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/comments/313295306","html_url":"https://github.com/BlueBasher/WorkItemUpdater/issues/1#issuecomment-313295306","issue_url":"https://api.github.com/repos/BlueBasher/WorkItemUpdater/issues/1","id":313295306,"user":{"login":"dipenpatelOEH","id":25805025,"avatar_url":"https://avatars1.githubusercontent.com/u/25805025?v=3","gravatar_id":"","url":"https://api.github.com/users/dipenpatelOEH","html_url":"https://github.com/dipenpatelOEH","followers_url":"https://api.github.com/users/dipenpatelOEH/followers","following_url":"https://api.github.com/users/dipenpatelOEH/following{/other_user}","gists_url":"https://api.github.com/users/dipenpatelOEH/gists{/gist_id}","starred_url":"https://api.github.com/users/dipenpatelOEH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dipenpatelOEH/subscriptions","organizations_url":"https://api.github.com/users/dipenpatelOEH/orgs","repos_url":"https://api.github.com/users/dipenpatelOEH/repos","events_url":"https://api.github.com/users/dipenpatelOEH/events{/privacy}","received_events_url":"https://api.github.com/users/dipenpatelOEH/received_events","type":"User","site_admin":false},"created_at":"2017-07-06T04:58:53Z","updated_at":"2017-07-06T04:58:53Z","body":"Hi BlueBasher, I got the stackoverflow error. below is the log\r\n\r\n------------------------\r\n\r\n2017-07-06T04:44:27.2699100Z Starting task: WorkItem Updater\r\n \r\n2017-07-06T04:44:27.2709142Z C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command \". ([scriptblock]::Create('if (!$PSHOME) { $null = Get-Item -LiteralPath ''variable:PSHOME'' } else { Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\\Microsoft.PowerShell.Management\\Microsoft.PowerShell.Management.psd1'')) ; Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\\Microsoft.PowerShell.Utility\\Microsoft.PowerShell.Utility.psd1'')) }')) 2>&1 | ForEach-Object { Write-Verbose $_.Exception.Message -Verbose } ; $env:TF_BUILD = 'True' ; Import-Module -Name 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\ps_modules\\VstsTaskSdk\\VstsTaskSdk.psd1' -ArgumentList @{ NonInteractive = $true } -ErrorAction Stop ; $VerbosePreference = 'Continue' ; $DebugPreference = 'Continue' ; Invoke-VstsTaskScript -ScriptBlock ([scriptblock]::Create('. ''C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\task.ps1'''))\"\r\n \r\n2017-07-06T04:44:29.1979740Z ##[debug]VstsTaskSdk 0.8.1 commit \r\n \r\n2017-07-06T04:44:29.3415746Z ##[debug]Importing function 'Assert-Path'.\r\n \r\n2017-07-06T04:44:29.3435830Z ##[debug]Importing function 'Find-Files'.\r\n \r\n2017-07-06T04:44:29.3445872Z ##[debug]Importing function 'Find-Match'.\r\n \r\n2017-07-06T04:44:29.3465956Z ##[debug]Importing function 'Get-AssemblyReference'.\r\n \r\n2017-07-06T04:44:29.3475998Z ##[debug]Importing function 'Get-Endpoint'.\r\n \r\n2017-07-06T04:44:29.3486040Z ##[debug]Importing function 'Get-Input'.\r\n \r\n2017-07-06T04:44:29.3496082Z ##[debug]Importing function 'Get-LocString'.\r\n \r\n2017-07-06T04:44:29.3506124Z ##[debug]Importing function 'Get-TaskVariable'.\r\n \r\n2017-07-06T04:44:29.3516166Z ##[debug]Importing function 'Get-TaskVariableInfo'.\r\n \r\n2017-07-06T04:44:29.3526208Z ##[debug]Importing function 'Get-TfsClientCredentials'.\r\n \r\n2017-07-06T04:44:29.3536250Z ##[debug]Importing function 'Get-TfsService'.\r\n \r\n2017-07-06T04:44:29.3546292Z ##[debug]Importing function 'Get-VssCredentials'.\r\n \r\n2017-07-06T04:44:29.3566376Z ##[debug]Importing function 'Get-VssHttpClient'.\r\n \r\n2017-07-06T04:44:29.3576418Z ##[debug]Importing function 'Import-LocStrings'.\r\n \r\n2017-07-06T04:44:29.3586460Z ##[debug]Importing function 'Invoke-Tool'.\r\n \r\n2017-07-06T04:44:29.3596502Z ##[debug]Importing function 'New-FindOptions'.\r\n \r\n2017-07-06T04:44:29.3606544Z ##[debug]Importing function 'New-MatchOptions'.\r\n \r\n2017-07-06T04:44:29.3616586Z ##[debug]Importing function 'Out-Default'.\r\n \r\n2017-07-06T04:44:29.3626628Z ##[debug]Importing function 'Select-Match'.\r\n \r\n2017-07-06T04:44:29.3636670Z ##[debug]Importing function 'Set-TaskVariable'.\r\n \r\n2017-07-06T04:44:29.3646712Z ##[debug]Importing function 'Trace-EnteringInvocation'.\r\n \r\n2017-07-06T04:44:29.3656754Z ##[debug]Importing function 'Trace-LeavingInvocation'.\r\n \r\n2017-07-06T04:44:29.3676838Z ##[debug]Importing function 'Trace-Path'.\r\n \r\n2017-07-06T04:44:29.3686880Z ##[debug]Importing function 'Write-AddAttachment'.\r\n \r\n2017-07-06T04:44:29.3696922Z ##[debug]Importing function 'Write-AddBuildTag'.\r\n \r\n2017-07-06T04:44:29.3706964Z ##[debug]Importing function 'Write-AssociateArtifact'.\r\n \r\n2017-07-06T04:44:29.3717006Z ##[debug]Importing function 'Write-LogDetail'.\r\n \r\n2017-07-06T04:44:29.3727048Z ##[debug]Importing function 'Write-SetProgress'.\r\n \r\n2017-07-06T04:44:29.3737090Z ##[debug]Importing function 'Write-SetResult'.\r\n \r\n2017-07-06T04:44:29.3757174Z ##[debug]Importing function 'Write-SetSecret'.\r\n \r\n2017-07-06T04:44:29.3757174Z ##[debug]Importing function 'Write-SetVariable'.\r\n \r\n2017-07-06T04:44:29.3827468Z ##[debug]Importing function 'Write-TaskDebug'.\r\n \r\n2017-07-06T04:44:29.3998182Z ##[debug]Importing function 'Write-TaskError'.\r\n \r\n2017-07-06T04:44:29.4168896Z ##[debug]Importing function 'Write-TaskVerbose'.\r\n \r\n2017-07-06T04:44:29.4188980Z ##[debug]Importing function 'Write-TaskWarning'.\r\n \r\n2017-07-06T04:44:29.4199022Z ##[debug]Importing function 'Write-UpdateBuildNumber'.\r\n \r\n2017-07-06T04:44:29.4209064Z ##[debug]Importing function 'Write-UploadArtifact'.\r\n \r\n2017-07-06T04:44:29.4219106Z ##[debug]Importing function 'Write-UploadBuildLog'.\r\n \r\n2017-07-06T04:44:29.4299442Z ##[debug]Entering C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\task.ps1.\r\n \r\n2017-07-06T04:44:29.4399862Z ##[debug]BUILD_BUILDID: '619'\r\n \r\n2017-07-06T04:44:29.4429988Z ##[debug]SYSTEM_TEAMPROJECTID: '34147a9c-0c69-4132-aa13-4e2cd697ac95'\r\n \r\n2017-07-06T04:44:29.4460114Z ##[debug]BUILD_REQUESTEDFOR: 'Dipen Patel'\r\n \r\n2017-07-06T04:44:29.4620786Z ##[debug]INPUT_WORKITEMTYPE: 'User Story'\r\n \r\n2017-07-06T04:44:29.4630828Z ##[debug]INPUT_WORKITEMSTATE: 'Active'\r\n \r\n2017-07-06T04:44:29.4640870Z ##[debug]INPUT_WORKITEMKANBANSTATE: 'In Progress'\r\n \r\n2017-07-06T04:44:29.4650912Z ##[debug]INPUT_WORKITEMDONE: 'false'\r\n \r\n2017-07-06T04:44:29.4670996Z ##[debug] Converted to bool: False\r\n \r\n2017-07-06T04:44:29.4691080Z ##[debug]INPUT_LINKBUILD: 'true'\r\n \r\n2017-07-06T04:44:29.4701122Z ##[debug] Converted to bool: True\r\n \r\n2017-07-06T04:44:29.4711164Z ##[debug]INPUT_UPDATEASSIGNEDTO: 'Never'\r\n \r\n2017-07-06T04:44:29.4741290Z ##[debug]BuildId 619\r\n \r\n2017-07-06T04:44:29.4741290Z ##[debug]ProjectId 34147a9c-0c69-4132-aa13-4e2cd697ac95\r\n \r\n2017-07-06T04:44:29.4751332Z ##[debug]requestedFor Dipen Patel\r\n \r\n2017-07-06T04:44:29.4751332Z ##[debug]workItemType User Story\r\n \r\n2017-07-06T04:44:29.4761374Z ##[debug]WorkItemState Active\r\n \r\n2017-07-06T04:44:29.4761374Z ##[debug]WorkItemKanbanState In Progress\r\n \r\n2017-07-06T04:44:29.4771416Z ##[debug]WorkItemDone False\r\n \r\n2017-07-06T04:44:29.4781458Z ##[debug]updateAssignedTo Never\r\n \r\n2017-07-06T04:44:29.4781458Z ##[debug]Converting buildId '619' as int\r\n \r\n2017-07-06T04:44:29.4791500Z ##[debug]Converting projectId '34147a9c-0c69-4132-aa13-4e2cd697ac95' as GUID\r\n \r\n2017-07-06T04:44:29.4942130Z ##[debug]Entering Get-VssHttpClient.\r\n \r\n2017-07-06T04:44:29.5012424Z ##[debug] TypeName: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'\r\n \r\n2017-07-06T04:44:29.5052592Z ##[debug]SYSTEM_TEAMFOUNDATIONCOLLECTIONURI: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'\r\n \r\n2017-07-06T04:44:29.5092760Z ##[debug]Entering Get-VssCredentials.\r\n \r\n2017-07-06T04:44:29.5102802Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.5173096Z ##[debug]ENDPOINT_URL_SystemVssConnection: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'\r\n \r\n2017-07-06T04:44:29.5193180Z ##[debug]ENDPOINT_AUTH_SystemVssConnection: '********'\r\n \r\n2017-07-06T04:44:29.5203222Z ##[debug]ENDPOINT_DATA_SystemVssConnection (empty)\r\n \r\n2017-07-06T04:44:29.5313684Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.5333768Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.5343810Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.5353852Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.5373936Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.5383978Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.5454272Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.5524566Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.OAuth.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.5534608Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.5544650Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.OAuth.dll'\r\n \r\n2017-07-06T04:44:29.5554692Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.5564734Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.5584818Z ##[debug]Loading assembly: C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.WebApi.dll\r\n \r\n2017-07-06T04:44:29.6006582Z ##[debug]Resolving 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'\r\n \r\n2017-07-06T04:44:29.6157212Z ##[debug]Resolving 'System.Net.Http.Formatting, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'\r\n \r\n2017-07-06T04:44:29.6358052Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.6388178Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.6398220Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.dll'\r\n \r\n2017-07-06T04:44:29.6408262Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.6428346Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.6458472Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.6468514Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'\r\n \r\n2017-07-06T04:44:29.6478556Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.6498640Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.6538808Z ##[debug] Require: 'True'\r\n \r\n2017-07-06T04:44:29.6548850Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.6568934Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'\r\n \r\n2017-07-06T04:44:29.6578976Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.6599060Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.Client.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.6609102Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.6629186Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.Client.dll'\r\n \r\n2017-07-06T04:44:29.6649270Z ##[debug]Loading assembly: C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.Client.dll\r\n \r\n2017-07-06T04:44:29.7422504Z ##[debug]System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.\r\n \r\n2017-07-06T04:44:29.7492798Z ##[debug]LoaderExceptions[0]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7492798Z ##[debug]LoaderExceptions[1]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ServiceBus, Version=2.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7502840Z ##[debug]LoaderExceptions[2]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7512882Z ##[debug]LoaderExceptions[3]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7522924Z ##[debug]LoaderExceptions[4]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7532966Z ##[debug]LoaderExceptions[5]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7543008Z ##[debug]LoaderExceptions[6]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7553050Z ##[debug]LoaderExceptions[7]: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\r\n \r\n2017-07-06T04:44:29.7563092Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'\r\n \r\n2017-07-06T04:44:29.7573134Z ##[debug]The type was loaded successfully.\r\n \r\n2017-07-06T04:44:29.7593218Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.7673554Z ##[debug]Leaving Get-VssCredentials.\r\n \r\n2017-07-06T04:44:29.7693638Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.7693638Z ##[debug] TypeName: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'\r\n \r\n2017-07-06T04:44:29.7703680Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.7713722Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.7723764Z ##[debug] Require: 'True'\r\n \r\n2017-07-06T04:44:29.7733806Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.7743848Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'\r\n \r\n2017-07-06T04:44:29.7804100Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.7814142Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.WorkItemTracking.WebApi.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.7824184Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.7834226Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.7844268Z ##[debug]Loading assembly: C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll\r\n \r\n2017-07-06T04:44:29.7894478Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'\r\n \r\n2017-07-06T04:44:29.7914562Z ##[debug]The type was loaded successfully.\r\n \r\n2017-07-06T04:44:29.7924604Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.7934646Z ##[debug]Constructing HTTP client.\r\n \r\n2017-07-06T04:44:29.8266032Z ##[debug]Leaving Get-VssHttpClient.\r\n \r\n2017-07-06T04:44:29.8286116Z ##[debug]Entering Get-VssHttpClient.\r\n \r\n2017-07-06T04:44:29.8296158Z ##[debug] TypeName: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'\r\n \r\n2017-07-06T04:44:29.8306200Z ##[debug]SYSTEM_TEAMFOUNDATIONCOLLECTIONURI: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'\r\n \r\n2017-07-06T04:44:29.8326284Z ##[debug]Entering Get-VssCredentials.\r\n \r\n2017-07-06T04:44:29.8326284Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.8346368Z ##[debug]ENDPOINT_URL_SystemVssConnection: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'\r\n \r\n2017-07-06T04:44:29.8356410Z ##[debug]ENDPOINT_AUTH_SystemVssConnection: '********'\r\n \r\n2017-07-06T04:44:29.8366452Z ##[debug]ENDPOINT_DATA_SystemVssConnection (empty)\r\n \r\n2017-07-06T04:44:29.8376494Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.8386536Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.8396578Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.8406620Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.8416662Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.8426704Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.8446788Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.8456830Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.OAuth.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.8466872Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.8486956Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.OAuth.dll'\r\n \r\n2017-07-06T04:44:29.8496998Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.8507040Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.8517082Z ##[debug]Loading assembly: C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.WebApi.dll\r\n \r\n2017-07-06T04:44:29.8537166Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'\r\n \r\n2017-07-06T04:44:29.8547208Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.8557250Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.VisualStudio.Services.dll'\r\n \r\n2017-07-06T04:44:29.8577334Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.8587376Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.8597418Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.8607460Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'\r\n \r\n2017-07-06T04:44:29.8617502Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.8627544Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.8647628Z ##[debug] Require: 'True'\r\n \r\n2017-07-06T04:44:29.8657670Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.8667712Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'\r\n \r\n2017-07-06T04:44:29.8677754Z ##[debug]The type was loaded successfully.\r\n \r\n2017-07-06T04:44:29.8687796Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.8697838Z ##[debug]Leaving Get-VssCredentials.\r\n \r\n2017-07-06T04:44:29.8707880Z ##[debug]Entering Get-OMType.\r\n \r\n2017-07-06T04:44:29.8717922Z ##[debug] TypeName: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'\r\n \r\n2017-07-06T04:44:29.8727964Z ##[debug] OMKind: 'WebApi'\r\n \r\n2017-07-06T04:44:29.8738006Z ##[debug] OMDirectory: ''\r\n \r\n2017-07-06T04:44:29.8748048Z ##[debug] Require: 'True'\r\n \r\n2017-07-06T04:44:29.8758090Z ##[debug]Defaulted OM directory to: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4'\r\n \r\n2017-07-06T04:44:29.8768132Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'\r\n \r\n2017-07-06T04:44:29.8778174Z ##[debug]The type was not loaded.\r\n \r\n2017-07-06T04:44:29.8788216Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.Build.WebApi.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.8798258Z ##[debug]Not found.\r\n \r\n2017-07-06T04:44:29.8808300Z ##[debug]Testing leaf path: 'C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.Build.WebApi.dll'\r\n \r\n2017-07-06T04:44:29.8818342Z ##[debug]Loading assembly: C:\\PVV_agent\\tasks\\WorkItemUpdater\\1.3.4\\Microsoft.TeamFoundation.Build.WebApi.dll\r\n \r\n2017-07-06T04:44:29.8888636Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'\r\n \r\n2017-07-06T04:44:29.8898678Z ##[debug]The type was loaded successfully.\r\n \r\n2017-07-06T04:44:29.8908720Z ##[debug]Leaving Get-OMType.\r\n \r\n2017-07-06T04:44:29.8918762Z ##[debug]Constructing HTTP client.\r\n \r\n2017-07-06T04:44:29.8938846Z ##[debug]Leaving Get-VssHttpClient.\r\n \r\n2017-07-06T04:44:29.8958930Z ##[debug]GetBuildWorkItemsRefsAsync 34147a9c-0c69-4132-aa13-4e2cd697ac95 619\r\n \r\n2017-07-06T04:44:30.2885352Z ##[debug]Loop workItemsRefs\r\n \r\n2017-07-06T04:44:30.2905436Z ##[debug]Microsoft.VisualStudio.Services.WebApi.ResourceRef Microsoft.VisualStudio.Services.WebApi.ResourceRef\r\n \r\n2017-07-06T04:44:30.3126360Z ##[debug]Found WorkItemRef: 2009\r\n \r\n2017-07-06T04:44:30.7605092Z ##[debug]Found WorkItem: 2009\r\n \r\n2017-07-06T04:44:30.7615134Z ##[debug]Skipped Task WorkItem: 2009\r\n \r\n2017-07-06T04:44:30.7625176Z ##[debug]Found WorkItemRef: 1896\r\n \r\n2017-07-06T04:44:30.8538998Z ##[debug]Found WorkItem: 1896\r\n \r\n2017-07-06T04:44:30.8538998Z Updating WorkItem 1896\r\n \r\n2017-07-06T04:44:30.8579166Z ##[debug]Found KanbanColumn: WEF_13B56BE23846402A897F92E3C089F35C_Kanban.Column WEF_D0CEBEC070DA4D549967B81DF159CD86_Kanban.Column WEF_C54A9D74724A40879251DD62A6A5A4C4_Kanban.Column WEF_B9CFDA2C487E4819BFB2C149BBE69E55_Kanban.Column WEF_90C4902BB70E426796AB02912F3948E7_Kanban.Column WEF_FBFDA0C4023D47D9927933703E6E21DC_Kanban.Column WEF_CE3336052F9147E3A2A08F3D8493B002_Kanban.Column\r\n \r\n2017-07-06T04:44:30.8709712Z ##[debug]Patch: /fields/System.State Active\r\n \r\n2017-07-06T04:44:30.8739838Z ##[debug]Patch: /fields/WEF_13B56BE23846402A897F92E3C089F35C_Kanban.Column WEF_D0CEBEC070DA4D549967B81DF159CD86_Kanban.Column WEF_C54A9D74724A40879251DD62A6A5A4C4_Kanban.Column WEF_B9CFDA2C487E4819BFB2C149BBE69E55_Kanban.Column WEF_90C4902BB70E426796AB02912F3948E7_Kanban.Column WEF_FBFDA0C4023D47D9927933703E6E21DC_Kanban.Column WEF_CE3336052F9147E3A2A08F3D8493B002_Kanban.Column In Progress\r\n \r\n2017-07-06T04:44:30.8749880Z ##[debug]Patch: /fields/WEF_13B56BE23846402A897F92E3C089F35C_Kanban.Column WEF_D0CEBEC070DA4D549967B81DF159CD86_Kanban.Column WEF_C54A9D74724A40879251DD62A6A5A4C4_Kanban.Column WEF_B9CFDA2C487E4819BFB2C149BBE69E55_Kanban.Column WEF_90C4902BB70E426796AB02912F3948E7_Kanban.Column WEF_FBFDA0C4023D47D9927933703E6E21DC_Kanban.Column WEF_CE3336052F9147E3A2A08F3D8493B002_Kanban.Column.Done False\r\n \r\n2017-07-06T04:44:30.8840258Z Linking Build 619 to WorkItem 1896\r\n \r\n2017-07-06T04:44:30.8870384Z ##[debug]Patch: /relations/- vstfs:///Build/Build/619\r\n \r\n2017-07-06T04:44:31.1109750Z Process is terminated due to StackOverflowException.\r\n \r\n2017-07-06T04:44:32.1924984Z ##[error]Process completed with exit code 255.\r\n \r\n2017-07-06T04:44:32.2105740Z Finishing task: WorkItemUpdater\r\n \r\n2017-07-06T04:44:32.2125824Z ##[error]System.Exception: Task WorkItemUpdater failed. This caused the job to fail. Look at the logs for the task for more details.\r\n \r\n2017-07-06T04:44:32.2125824Z ##[error]   at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)\r\n \r\n"}}
{"actor":{"display_login":"dipenpatelOEH"}}