Giter Club home page Giter Club logo

Comments (13)

MrHinsh avatar MrHinsh commented on June 1, 2024

Could you give me the SessionID from that run? I will look up the stack trace in the telemetry.

from azure-devops-migration-tools.

mishra1010 avatar mishra1010 commented on June 1, 2024

Please find the session ID
SessionID: 77f30dd9-33ba-49a6-8fee-a54bfc794811

from azure-devops-migration-tools.

MrHinsh avatar MrHinsh commented on June 1, 2024

Thanks :)

So I dived in and got the stack trace...

image

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.

image

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:

image

You should be able to download v7.5.5 in a few minutes with the fix above.

from azure-devops-migration-tools.

mishra1010 avatar mishra1010 commented on June 1, 2024

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.

b__4_1(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 94
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func`2 notParsedFunc
at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 92

from azure-devops-migration-tools.

mishra1010 avatar mishra1010 commented on June 1, 2024

Any updates on this. Please let us know.

from azure-devops-migration-tools.

MrHinsh avatar MrHinsh commented on June 1, 2024

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.

mishra1010 avatar mishra1010 commented on June 1, 2024

Thanks a lot Martin. please let me know when i can test the migration

from azure-devops-migration-tools.

MrHinsh avatar MrHinsh commented on June 1, 2024

7.5.6 shipped 23 hours ago...

from azure-devops-migration-tools.

mishra1010 avatar mishra1010 commented on June 1, 2024

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.

mishra1010 avatar mishra1010 commented on June 1, 2024

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.

b__4_1(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 94
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 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.

MrHinsh avatar MrHinsh commented on June 1, 2024

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.

mishra1010 avatar mishra1010 commented on June 1, 2024

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.

MrHinsh avatar MrHinsh commented on June 1, 2024

Meh, happens. If others report the same issue we can open this can of worms again...

from azure-devops-migration-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.