Comments (13)
Could you give me the SessionID from that run? I will look up the stack trace in the telemetry.
from azure-devops-migration-tools.
Please find the session ID
SessionID: 77f30dd9-33ba-49a6-8fee-a54bfc794811
from azure-devops-migration-tools.
Thanks :)
So I dived in and got the stack trace...
This code is pretty gnarly and I often have trouble in here. This is however a first for me where the target side errors out on Count.
It looks like the only posible option for this line is that the targetEntry.Configurations.Count
call is causing the error... so I made the following refactor:
You should be able to download v7.5.5 in a few minutes with the fix above.
from azure-devops-migration-tools.
I am using the latest version but it fails with the same error.
[Info]: vstssyncmigrator
[Info]: Running version detected as 7.5.5.0
[Info]: Telemitery Enabled: True
[Info]: SessionID: a60f2360-bdc0-4d0a-9ae2-56dc596302fa
TestPlansAndSuitsMigrationContext: Processing StaticTestSuite : 77757 - 74592-As a User I want to be able to Login to the xxxx /xxxx App to enable its usage
TestPlansAndSuitsMigrationContext: Suite Exists
TestPlansAndSuites: CONFIG MNISSMATCH FOUND --- FIX AATTEMPTING
vstssyncmigrator.exe Warning: 0 : [EXCEPTION] Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in d:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 80
at VstsSyncMigrator.Engine.MigrationEngine.Run() in d:\a\1\s\src\VstsSyncMigrator.Core\MigrationEngine.cs:line 127
at VstsSyncMigrator.ConsoleApp.Program.RunExecuteAndReturnExitCode(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 156
at VstsSyncMigrator.ConsoleApp.Program.<>c.
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult
1 result, Func
2 parsedFunc1, Func2 parsedFunc2, Func
2 parsedFunc3, Func`2 notParsedFuncat VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 92
from azure-devops-migration-tools.
Any updates on this. Please let us know.
from azure-devops-migration-tools.
Thanks for poking me. I have been traveling and I'm coding from my hotel room in Ghana :).
As you can probably see in the screenshot of the code above line 266 will error out if targetEntry.Configurations is NULL. I have updated it and will push a new release...
from azure-devops-migration-tools.
Thanks a lot Martin. please let me know when i can test the migration
from azure-devops-migration-tools.
7.5.6 shipped 23 hours ago...
from azure-devops-migration-tools.
Thanks Martin.
Migration progressed further this time to second test plan but failed with the same error. Please find session details.
[Info]: vstssyncmigrator
[Info]: Running version detected as 7.5.6.0
[Info]: Telemitery Enabled: True
[Info]: SessionID: d8a770b7-299c-4124-8124-091506c2ad9c
[Info]: User: XXXXX
[Info]: Start Time: 8/29/2017 5:57:22 PM
Again it fails with same error
vstssyncmigrator.exe Warning: 0 : [EXCEPTION] Object reference not set to an instance of an object.
from azure-devops-migration-tools.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in d:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 80
at VstsSyncMigrator.Engine.MigrationEngine.Run() in d:\a\1\s\src\VstsSyncMigrator.Core\MigrationEngine.cs:line 127
at VstsSyncMigrator.ConsoleApp.Program.RunExecuteAndReturnExitCode(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 156
at VstsSyncMigrator.ConsoleApp.Program.<>c.
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult
1 result, Func
2 parsedFunc1, Func2 parsedFunc2, Func
2 parsedFunc3, Func`2 notParsedFunc)at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 92
PS C:\tools\VSTSSyncMigration>
from azure-devops-migration-tools.
Would you be able to clone the repo and run the migration in Visual Studio? This would help isolate the issues... If you also fix the issue feel free to send a pull request...
from azure-devops-migration-tools.
I cloned the code and tried putting a debug point and find that the migration succeeded. Thats strange but the migrated got completed.
from azure-devops-migration-tools.
Meh, happens. If others report the same issue we can open this can of worms again...
from azure-devops-migration-tools.
Related Issues (20)
- [Bug]: TF26198: Unable to GetWorkItem with id[4601] During Azure DevOps Migration - Need Assistance to Skip Error and Continue Migration HOT 1
- An existing connection was forcibly closed by the remote host
- System.NullReferenceException: Object reference not set to an instance of an object HOT 3
- [Bug]: Issue with Migrating Test Plans and Test Suites: Work Item Not Ready to Save
- Sequence contains more than one element
- [Bug]: test HOT 2
- [Bug]: Error in TestPlansAndSuitesMigrationContext - TF237124: Work Item is not ready to save HOT 2
- [Bug]: Error: TF237124: Work Item is not ready to save during Test Plans, Test Suites, and Test Cases Migration using nkdAgility Azure DevOps Migration Tools HOT 2
- An item with the same key has already been added HOT 2
- [Bug]: Migrate particular Sprint - Test Plan, Test Suite, and Test Case HOT 1
- [Feature] Enable better Release Overview
- [Bug] : Project Name not replaced in `FilterWorkItemsThatAlreadyExistInTarget`
- [Bug]: Could not load file or assembly 'Serilog.Sinks.ApplicationInsights HOT 1
- [Bug]: HOT 1
- Unable to configure store with AuthenticationMode as Prompt
- An item with the same key has already been added HOT 1
- [Bug]: All migrations fail due to missing PAT; however, PAT is present HOT 2
- [Bug]: System.Web.Services.Protocols.SoapException: VS403417: ChangedBy value cannot be empty when BypassRules is specified HOT 1
- ProcessDefinitionProcessorOptions: Source and Target need to be defined independently for parallel processing to work
- [Bug]: ProcessDefinitionProcessorOptions [16.0.3] Failed to synchronize processes. System.Exception: Failed on call to get list of [WorkItemField]. HOT 1
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 azure-devops-migration-tools.