Comments (6)
Could you run your build with "system.debug" variable set to "true"? That way there will be a lot more logging and hopefully can see something that's causing the StackOverflowException.
from workitemupdater.
Hi BlueBasher, I got the stackoverflow error. below is the log
2017-07-06T04:44:27.2699100Z Starting task: WorkItem Updater
2017-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'''))"
2017-07-06T04:44:29.1979740Z ##[debug]VstsTaskSdk 0.8.1 commit
2017-07-06T04:44:29.3415746Z ##[debug]Importing function 'Assert-Path'.
2017-07-06T04:44:29.3435830Z ##[debug]Importing function 'Find-Files'.
2017-07-06T04:44:29.3445872Z ##[debug]Importing function 'Find-Match'.
2017-07-06T04:44:29.3465956Z ##[debug]Importing function 'Get-AssemblyReference'.
2017-07-06T04:44:29.3475998Z ##[debug]Importing function 'Get-Endpoint'.
2017-07-06T04:44:29.3486040Z ##[debug]Importing function 'Get-Input'.
2017-07-06T04:44:29.3496082Z ##[debug]Importing function 'Get-LocString'.
2017-07-06T04:44:29.3506124Z ##[debug]Importing function 'Get-TaskVariable'.
2017-07-06T04:44:29.3516166Z ##[debug]Importing function 'Get-TaskVariableInfo'.
2017-07-06T04:44:29.3526208Z ##[debug]Importing function 'Get-TfsClientCredentials'.
2017-07-06T04:44:29.3536250Z ##[debug]Importing function 'Get-TfsService'.
2017-07-06T04:44:29.3546292Z ##[debug]Importing function 'Get-VssCredentials'.
2017-07-06T04:44:29.3566376Z ##[debug]Importing function 'Get-VssHttpClient'.
2017-07-06T04:44:29.3576418Z ##[debug]Importing function 'Import-LocStrings'.
2017-07-06T04:44:29.3586460Z ##[debug]Importing function 'Invoke-Tool'.
2017-07-06T04:44:29.3596502Z ##[debug]Importing function 'New-FindOptions'.
2017-07-06T04:44:29.3606544Z ##[debug]Importing function 'New-MatchOptions'.
2017-07-06T04:44:29.3616586Z ##[debug]Importing function 'Out-Default'.
2017-07-06T04:44:29.3626628Z ##[debug]Importing function 'Select-Match'.
2017-07-06T04:44:29.3636670Z ##[debug]Importing function 'Set-TaskVariable'.
2017-07-06T04:44:29.3646712Z ##[debug]Importing function 'Trace-EnteringInvocation'.
2017-07-06T04:44:29.3656754Z ##[debug]Importing function 'Trace-LeavingInvocation'.
2017-07-06T04:44:29.3676838Z ##[debug]Importing function 'Trace-Path'.
2017-07-06T04:44:29.3686880Z ##[debug]Importing function 'Write-AddAttachment'.
2017-07-06T04:44:29.3696922Z ##[debug]Importing function 'Write-AddBuildTag'.
2017-07-06T04:44:29.3706964Z ##[debug]Importing function 'Write-AssociateArtifact'.
2017-07-06T04:44:29.3717006Z ##[debug]Importing function 'Write-LogDetail'.
2017-07-06T04:44:29.3727048Z ##[debug]Importing function 'Write-SetProgress'.
2017-07-06T04:44:29.3737090Z ##[debug]Importing function 'Write-SetResult'.
2017-07-06T04:44:29.3757174Z ##[debug]Importing function 'Write-SetSecret'.
2017-07-06T04:44:29.3757174Z ##[debug]Importing function 'Write-SetVariable'.
2017-07-06T04:44:29.3827468Z ##[debug]Importing function 'Write-TaskDebug'.
2017-07-06T04:44:29.3998182Z ##[debug]Importing function 'Write-TaskError'.
2017-07-06T04:44:29.4168896Z ##[debug]Importing function 'Write-TaskVerbose'.
2017-07-06T04:44:29.4188980Z ##[debug]Importing function 'Write-TaskWarning'.
2017-07-06T04:44:29.4199022Z ##[debug]Importing function 'Write-UpdateBuildNumber'.
2017-07-06T04:44:29.4209064Z ##[debug]Importing function 'Write-UploadArtifact'.
2017-07-06T04:44:29.4219106Z ##[debug]Importing function 'Write-UploadBuildLog'.
2017-07-06T04:44:29.4299442Z ##[debug]Entering C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\task.ps1.
2017-07-06T04:44:29.4399862Z ##[debug]BUILD_BUILDID: '619'
2017-07-06T04:44:29.4429988Z ##[debug]SYSTEM_TEAMPROJECTID: '34147a9c-0c69-4132-aa13-4e2cd697ac95'
2017-07-06T04:44:29.4460114Z ##[debug]BUILD_REQUESTEDFOR: 'Dipen Patel'
2017-07-06T04:44:29.4620786Z ##[debug]INPUT_WORKITEMTYPE: 'User Story'
2017-07-06T04:44:29.4630828Z ##[debug]INPUT_WORKITEMSTATE: 'Active'
2017-07-06T04:44:29.4640870Z ##[debug]INPUT_WORKITEMKANBANSTATE: 'In Progress'
2017-07-06T04:44:29.4650912Z ##[debug]INPUT_WORKITEMDONE: 'false'
2017-07-06T04:44:29.4670996Z ##[debug] Converted to bool: False
2017-07-06T04:44:29.4691080Z ##[debug]INPUT_LINKBUILD: 'true'
2017-07-06T04:44:29.4701122Z ##[debug] Converted to bool: True
2017-07-06T04:44:29.4711164Z ##[debug]INPUT_UPDATEASSIGNEDTO: 'Never'
2017-07-06T04:44:29.4741290Z ##[debug]BuildId 619
2017-07-06T04:44:29.4741290Z ##[debug]ProjectId 34147a9c-0c69-4132-aa13-4e2cd697ac95
2017-07-06T04:44:29.4751332Z ##[debug]requestedFor Dipen Patel
2017-07-06T04:44:29.4751332Z ##[debug]workItemType User Story
2017-07-06T04:44:29.4761374Z ##[debug]WorkItemState Active
2017-07-06T04:44:29.4761374Z ##[debug]WorkItemKanbanState In Progress
2017-07-06T04:44:29.4771416Z ##[debug]WorkItemDone False
2017-07-06T04:44:29.4781458Z ##[debug]updateAssignedTo Never
2017-07-06T04:44:29.4781458Z ##[debug]Converting buildId '619' as int
2017-07-06T04:44:29.4791500Z ##[debug]Converting projectId '34147a9c-0c69-4132-aa13-4e2cd697ac95' as GUID
2017-07-06T04:44:29.4942130Z ##[debug]Entering Get-VssHttpClient.
2017-07-06T04:44:29.5012424Z ##[debug] TypeName: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'
2017-07-06T04:44:29.5052592Z ##[debug]SYSTEM_TEAMFOUNDATIONCOLLECTIONURI: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'
2017-07-06T04:44:29.5092760Z ##[debug]Entering Get-VssCredentials.
2017-07-06T04:44:29.5102802Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.5173096Z ##[debug]ENDPOINT_URL_SystemVssConnection: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'
2017-07-06T04:44:29.5193180Z ##[debug]ENDPOINT_AUTH_SystemVssConnection: '********'
2017-07-06T04:44:29.5203222Z ##[debug]ENDPOINT_DATA_SystemVssConnection (empty)
2017-07-06T04:44:29.5313684Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.5333768Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.5343810Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.5353852Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.5373936Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.5383978Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.5454272Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.5524566Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.OAuth.WebApi.dll'
2017-07-06T04:44:29.5534608Z ##[debug]Not found.
2017-07-06T04:44:29.5544650Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.OAuth.dll'
2017-07-06T04:44:29.5554692Z ##[debug]Not found.
2017-07-06T04:44:29.5564734Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.WebApi.dll'
2017-07-06T04:44:29.5584818Z ##[debug]Loading assembly: C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.WebApi.dll
2017-07-06T04:44:29.6006582Z ##[debug]Resolving 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
2017-07-06T04:44:29.6157212Z ##[debug]Resolving 'System.Net.Http.Formatting, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
2017-07-06T04:44:29.6358052Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.6388178Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.6398220Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.dll'
2017-07-06T04:44:29.6408262Z ##[debug]Not found.
2017-07-06T04:44:29.6428346Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.6458472Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.6468514Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'
2017-07-06T04:44:29.6478556Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.6498640Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.6538808Z ##[debug] Require: 'True'
2017-07-06T04:44:29.6548850Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.6568934Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'
2017-07-06T04:44:29.6578976Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.6599060Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.Client.WebApi.dll'
2017-07-06T04:44:29.6609102Z ##[debug]Not found.
2017-07-06T04:44:29.6629186Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.Client.dll'
2017-07-06T04:44:29.6649270Z ##[debug]Loading assembly: C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.Client.dll
2017-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.
2017-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.
2017-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.
2017-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.
2017-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.
2017-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.
2017-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.
2017-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.
2017-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.
2017-07-06T04:44:29.7563092Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'
2017-07-06T04:44:29.7573134Z ##[debug]The type was loaded successfully.
2017-07-06T04:44:29.7593218Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.7673554Z ##[debug]Leaving Get-VssCredentials.
2017-07-06T04:44:29.7693638Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.7693638Z ##[debug] TypeName: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'
2017-07-06T04:44:29.7703680Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.7713722Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.7723764Z ##[debug] Require: 'True'
2017-07-06T04:44:29.7733806Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.7743848Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'
2017-07-06T04:44:29.7804100Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.7814142Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.WorkItemTracking.WebApi.WebApi.dll'
2017-07-06T04:44:29.7824184Z ##[debug]Not found.
2017-07-06T04:44:29.7834226Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll'
2017-07-06T04:44:29.7844268Z ##[debug]Loading assembly: C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll
2017-07-06T04:44:29.7894478Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.WorkItemTracking.WebApi.WorkItemTrackingHttpClient'
2017-07-06T04:44:29.7914562Z ##[debug]The type was loaded successfully.
2017-07-06T04:44:29.7924604Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.7934646Z ##[debug]Constructing HTTP client.
2017-07-06T04:44:29.8266032Z ##[debug]Leaving Get-VssHttpClient.
2017-07-06T04:44:29.8286116Z ##[debug]Entering Get-VssHttpClient.
2017-07-06T04:44:29.8296158Z ##[debug] TypeName: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'
2017-07-06T04:44:29.8306200Z ##[debug]SYSTEM_TEAMFOUNDATIONCOLLECTIONURI: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'
2017-07-06T04:44:29.8326284Z ##[debug]Entering Get-VssCredentials.
2017-07-06T04:44:29.8326284Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.8346368Z ##[debug]ENDPOINT_URL_SystemVssConnection: 'http://teamfoundation.environment.nsw.gov.au:8080/tfs/OEH/'
2017-07-06T04:44:29.8356410Z ##[debug]ENDPOINT_AUTH_SystemVssConnection: '********'
2017-07-06T04:44:29.8366452Z ##[debug]ENDPOINT_DATA_SystemVssConnection (empty)
2017-07-06T04:44:29.8376494Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.8386536Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.8396578Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.8406620Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.8416662Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.8426704Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.8446788Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.8456830Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.OAuth.WebApi.dll'
2017-07-06T04:44:29.8466872Z ##[debug]Not found.
2017-07-06T04:44:29.8486956Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.OAuth.dll'
2017-07-06T04:44:29.8496998Z ##[debug]Not found.
2017-07-06T04:44:29.8507040Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.WebApi.dll'
2017-07-06T04:44:29.8517082Z ##[debug]Loading assembly: C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.WebApi.dll
2017-07-06T04:44:29.8537166Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential'
2017-07-06T04:44:29.8547208Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.8557250Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.VisualStudio.Services.dll'
2017-07-06T04:44:29.8577334Z ##[debug]Not found.
2017-07-06T04:44:29.8587376Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.8597418Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.8607460Z ##[debug] TypeName: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'
2017-07-06T04:44:29.8617502Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.8627544Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.8647628Z ##[debug] Require: 'True'
2017-07-06T04:44:29.8657670Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.8667712Z ##[debug]Testing whether type can be loaded: 'Microsoft.VisualStudio.Services.Client.VssOAuthCredential'
2017-07-06T04:44:29.8677754Z ##[debug]The type was loaded successfully.
2017-07-06T04:44:29.8687796Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.8697838Z ##[debug]Leaving Get-VssCredentials.
2017-07-06T04:44:29.8707880Z ##[debug]Entering Get-OMType.
2017-07-06T04:44:29.8717922Z ##[debug] TypeName: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'
2017-07-06T04:44:29.8727964Z ##[debug] OMKind: 'WebApi'
2017-07-06T04:44:29.8738006Z ##[debug] OMDirectory: ''
2017-07-06T04:44:29.8748048Z ##[debug] Require: 'True'
2017-07-06T04:44:29.8758090Z ##[debug]Defaulted OM directory to: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4'
2017-07-06T04:44:29.8768132Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'
2017-07-06T04:44:29.8778174Z ##[debug]The type was not loaded.
2017-07-06T04:44:29.8788216Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.Build.WebApi.WebApi.dll'
2017-07-06T04:44:29.8798258Z ##[debug]Not found.
2017-07-06T04:44:29.8808300Z ##[debug]Testing leaf path: 'C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.Build.WebApi.dll'
2017-07-06T04:44:29.8818342Z ##[debug]Loading assembly: C:\PVV_agent\tasks\WorkItemUpdater\1.3.4\Microsoft.TeamFoundation.Build.WebApi.dll
2017-07-06T04:44:29.8888636Z ##[debug]Testing whether type can be loaded: 'Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient'
2017-07-06T04:44:29.8898678Z ##[debug]The type was loaded successfully.
2017-07-06T04:44:29.8908720Z ##[debug]Leaving Get-OMType.
2017-07-06T04:44:29.8918762Z ##[debug]Constructing HTTP client.
2017-07-06T04:44:29.8938846Z ##[debug]Leaving Get-VssHttpClient.
2017-07-06T04:44:29.8958930Z ##[debug]GetBuildWorkItemsRefsAsync 34147a9c-0c69-4132-aa13-4e2cd697ac95 619
2017-07-06T04:44:30.2885352Z ##[debug]Loop workItemsRefs
2017-07-06T04:44:30.2905436Z ##[debug]Microsoft.VisualStudio.Services.WebApi.ResourceRef Microsoft.VisualStudio.Services.WebApi.ResourceRef
2017-07-06T04:44:30.3126360Z ##[debug]Found WorkItemRef: 2009
2017-07-06T04:44:30.7605092Z ##[debug]Found WorkItem: 2009
2017-07-06T04:44:30.7615134Z ##[debug]Skipped Task WorkItem: 2009
2017-07-06T04:44:30.7625176Z ##[debug]Found WorkItemRef: 1896
2017-07-06T04:44:30.8538998Z ##[debug]Found WorkItem: 1896
2017-07-06T04:44:30.8538998Z Updating WorkItem 1896
2017-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
2017-07-06T04:44:30.8709712Z ##[debug]Patch: /fields/System.State Active
2017-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
2017-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
2017-07-06T04:44:30.8840258Z Linking Build 619 to WorkItem 1896
2017-07-06T04:44:30.8870384Z ##[debug]Patch: /relations/- vstfs:///Build/Build/619
2017-07-06T04:44:31.1109750Z Process is terminated due to StackOverflowException.
2017-07-06T04:44:32.1924984Z ##[error]Process completed with exit code 255.
2017-07-06T04:44:32.2105740Z Finishing task: WorkItemUpdater
2017-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.
2017-07-06T04:44:32.2125824Z ##[error] at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)
from workitemupdater.
@dipenpatelOEH Thanks for the details log! It looks like there's something wrong when a WorkItemType is linked to multiple backlogs.
I will have a look later today when I'm back at home.
from workitemupdater.
This issue is fixed in release 1.3.6.
The WorkItemUpdater now has support to update WorkItem Types that are maintained on multiple Kanban boards.
from workitemupdater.
from workitemupdater.
That fixed my issue, Thanks!
from workitemupdater.
Related Issues (20)
- Filter by workItemID HOT 2
- Provide more ways to filter Workitem source HOT 1
- WorkItems linked to the Build/Release and then filter with Query HOT 13
- No dropdown values are shown in UI view HOT 2
- Work items being skipped HOT 2
- Update task linked of Workitem
- Breaking issue. Bypass Rules not working anymore after update 2.5.801 HOT 3
- Unable to select status in build pipeline
- Tag based on Build Variable
- Link not being updated
- The given key was not present in the dictionary. HOT 1
- Reassign fails when creator is not found in AAD
- Log states that items were updated successfully, but they weren't HOT 3
- Workitem Updater on Release Pipeline: 2021-08-31T12:39:01.7616529Z ##[warning]Could not find query d902afc0-d705-4bf2-9c39-29f13851613d HOT 7
- Allow to select other project for the list of WorkItem types HOT 1
- Remove tag feature doesn't work HOT 1
- WorkItem Updater not changing the state in AZure DevOps HOT 1
- ##[error]TypeError: Cannot read property 'split' of undefined HOT 4
- Node 6 Execution Handler Deprecation Notice HOT 1
- Warning - The collection must contain at least one element.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workitemupdater.