system.NullReferenceException: Object reference not set to an instance of an object, When migrating workitems having changeset, #2497
kannnababu
announced in
Exceptions
Replies: 2 comments 5 replies
-
Hi there, ACTION REQUIRED In order for us to help you will need to provide both the log, and the configration file that you are using. Generate and Attach Log Steps:
Your assistance is greatly appreciated! Thanks, Azure DevOps Migration Tools team |
Beta Was this translation helpful? Give feedback.
1 reply
-
@MrHinsh , Please find the attached documents for the Log file and Config file |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While migrating workitems which is having Changeset, I am getting below error
System.NullReferenceException: Object reference not set to an instance of an object
When the above issue occurs, it occasionally skips it and moves on to the next work item, but other times it stops at that work item and cancels the job.
My requirement,
Below is my configuration
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": true,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @teamproject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Code Review Request','Shared Steps','Shared Parameter','Feedback Request','Code Review Response') AND [System.ID] = 437613 ORDER BY [System.ChangedDate] desc",
"FixHtmlAttachmentLinks": true,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"PauseAfterEachWorkItem": false,
"AttachRevisionHistory": false,
"GenerateMigrationComment": true,
"WorkItemIDs": null,
"MaxGracefulFailures": 0,
"SkipRevisionWithInvalidIterationPath": false,
"SkipRevisionWithInvalidAreaPath": false,
"Enrichers": null,
"SourceName": "Source",
"TargetName": "Target",
"RefName": null
}
],
"CommonTools": {
"TfsGitRepositoryTool": {
"Enabled": "True",
"Mappings": [{
}]
},
"StringManipulatorTool": {
"Enabled": "True",
"Manipulators": [
{
"$type": "RegexStringManipulator",
"Description": "Remove invalid characters from the end of the string",
"Enabled": "False",
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": ""
}
],
"MaxStringLength": "1000000"
},
"FieldMappingTool": {
"Enabled": true,
"FieldMaps": [
]
}
Please suggest
Beta Was this translation helpful? Give feedback.
All reactions