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)
- Special characters in description and revision cause errors HOT 9
- Revisions assigning users incorrectly HOT 1
- [Feature] Move Link Creation to Revision rather than Work Item HOT 1
- [Bug]: Pipelines migration: AzureDevOpsPipelineProcessor System.NullReferenceException when REST API does not return repo properties of a build pipeline HOT 5
- Force Set ClosedDate as needed
- [Preview] zero based bug in String manipulator
- Getting the following error with v15 preview 267. HOT 1
- [Bug] ClosedDate is set to Null and will revert to the current date on save! HOT 19
- [Bug] Sometimes the tool creates Empty workitems - no title, and set to new... no fields mapped HOT 6
- [BUG] Work Item Type with different capitalization Causes Error HOT 3
- [BUG] TEstMigration Uses CommonEnrichersConfig directly instead of through safe method
- [Bug]: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object HOT 1
- Merge Name guessing tool to UserMapper and insert usermapper here. HOT 1
- [16:08:20 FTL] [v15.0.1] Error while running ExportUsersForMappingContext HOT 2
- Tes t4
- [bug] Error as values not passed to attachment migrator HOT 3
- [Bug]: Pipelines migration: AzureDevOpsPipelineProcessor System.ArgumentNullException: Value cannot be null. Parameter name: source HOT 2
- [Bug]: Unable to configure store HOT 2
- TF30063: You are not authorized to access with APT Token HOT 2
- [Bug]: Images Not Correctly Migrated from TFS Server URLs Containing Spaces HOT 2
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.