Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
{
"$schema": "https://devopsmigration.io/schema/configuration.schema.json",
"Serilog": {
"MinimumLevel": "Debug"
},
"MigrationTools": {
"Version": "16.3",
"Endpoints": {
"Source": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/ABB-ABC-ABC/",
"Project": "ABB-ABC-ABC",
"Authentication": {
"AuthenticationMode": "Prompt",
"NetworkCredentials": {
"Domain": "",
"UserName": "",
"Password": "***"
},
"AccessToken": "***"
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"ProductVersion": "OnPremises"
},
"Target": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/ABB-ABC-XYZ/",
"Project": "XYZ",
"Authentication": {
"AuthenticationMode": "Prompt",
"NetworkCredentials": {
"Domain": "",
"UserName": "",
"Password": "***"
},
"AccessToken": "***"
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"ProductVersion": "OnPremises"
}
},
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": false,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite','Test Plan','Shared Steps','Shared Parameter','Feedback Request') ORDER BY [System.ChangedDate] DESC",
"FixHtmlAttachmentLinks": true,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"GenerateMigrationComment": true,
"SourceName": "Source",
"TargetName": "Target",
"AreaMaps": {
"^SMOM": "PMC"
},
"IterationMaps": {
"^SMOM": "PMC"
}
},
{
"ProcessorType": "TfsTestPlansAndSuitesMigrationProcessorOptions",
"Enabled": true,
"OnlyElementsWithTag": "",
"TestPlanQuery": "",
"RemoveAllLinks": true,
"MigrationDelay": 0,
"RemoveInvalidTestSuiteLinks": false,
"FilterCompleted": false,
"SourceName": "Source",
"TargetName": "Target"
}
]
}
}
Relevant log output
[15:56:10 DBG] [16.3.3] Query sent
[15:56:10 INF] [16.3.3] 1 Work items received, verifying
[15:56:11 INF] [16.3.3] Loading 1 Work Items
[15:56:23 DBG] [16.3.3] 1 Work Items loaded
[15:56:23 DBG] [16.3.3] GetReflectedWorkItemId: START
[15:56:23 DBG] [16.3.3] GetReflectedWorkItemId: END - Has ReflectedWorkItemIdField and has value
[15:56:26 FTL] [16.3.3] Error while running TfsTestPlansAndSuitesMigrationProcessor
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntry.SetPointAssignments(Guid owner, List`1 configs)
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteHelper.ServerAddCasesToSuite(TestSuite parent, IEnumerable`1 entries, Int32 toIndex)
at Microsoft.TeamFoundation.TestManagement.Client.TestSuite.OnInsertCases(Int32 index, IEnumerable`1 cases, Boolean ignoreDuplicates)
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntryCollection.InsertCases(Int32 index, IEnumerable`1 cases)
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.AddChildTestCases(ITestSuiteBase source, ITestSuiteBase target, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 188
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1035
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1042
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestPlan(ITestPlan sourcePlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 908
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 119
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 96
Error logged to Elmah.io!
!! Check for latest version - We fix issues constantly - If not, please create a discussion on https://github.com/nkdAgility/azure-devops-migration-tools/discussions so we can get this fixed !!
[15:56:28 INF] [16.3.3] TfsTestPlansAndSuitesMigrationProcessor completed in 00:06:55.5519626
[15:56:28 ERR] [16.3.3] TfsTestPlansAndSuitesMigrationProcessor The Processor MigrationEngine entered the failed state...stopping run
[15:56:28 INF] [16.3.3] Command ExecuteMigrationCommand completed in 00:06:57.3736055
[15:56:28 INF] [16.3.3] Check the logs for errors: D:\MigrationTools-16.3.3\logs\20260311154928
What happened?
A bug happened! I have tried with multiple versions as well as the latest versions, But always got this error
Debug in Visual Studio
Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
{ "$schema": "https://devopsmigration.io/schema/configuration.schema.json", "Serilog": { "MinimumLevel": "Debug" }, "MigrationTools": { "Version": "16.3", "Endpoints": { "Source": { "EndpointType": "TfsTeamProjectEndpoint", "Collection": "https://dev.azure.com/ABB-ABC-ABC/", "Project": "ABB-ABC-ABC", "Authentication": { "AuthenticationMode": "Prompt", "NetworkCredentials": { "Domain": "", "UserName": "", "Password": "***" }, "AccessToken": "***" }, "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId", "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" }, "ProductVersion": "OnPremises" }, "Target": { "EndpointType": "TfsTeamProjectEndpoint", "Collection": "https://dev.azure.com/ABB-ABC-XYZ/", "Project": "XYZ", "Authentication": { "AuthenticationMode": "Prompt", "NetworkCredentials": { "Domain": "", "UserName": "", "Password": "***" }, "AccessToken": "***" }, "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId", "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" }, "ProductVersion": "OnPremises" } }, "Processors": [ { "ProcessorType": "TfsWorkItemMigrationProcessor", "Enabled": false, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite','Test Plan','Shared Steps','Shared Parameter','Feedback Request') ORDER BY [System.ChangedDate] DESC", "FixHtmlAttachmentLinks": true, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": true, "GenerateMigrationComment": true, "SourceName": "Source", "TargetName": "Target", "AreaMaps": { "^SMOM": "PMC" }, "IterationMaps": { "^SMOM": "PMC" } }, { "ProcessorType": "TfsTestPlansAndSuitesMigrationProcessorOptions", "Enabled": true, "OnlyElementsWithTag": "", "TestPlanQuery": "", "RemoveAllLinks": true, "MigrationDelay": 0, "RemoveInvalidTestSuiteLinks": false, "FilterCompleted": false, "SourceName": "Source", "TargetName": "Target" } ] } }Relevant log output
What happened?
A bug happened! I have tried with multiple versions as well as the latest versions, But always got this error
Debug in Visual Studio