Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with migrating test plans #45

Closed
lchwastyk opened this issue Aug 10, 2017 · 11 comments
Closed

Problem with migrating test plans #45

lchwastyk opened this issue Aug 10, 2017 · 11 comments

Comments

@lchwastyk
Copy link

Hello everyone
I'm trying to migrate workitems from one project to another project and lately I had some problem with tasks not being assigned to proper PBI, BUG etc. After solving this problem I faced another one when migrating test plans. I got this error:
vstssyncmigrator.exe Information: 0 : Migration Context Start TestPlansAndSuitsMigrationContext
TestPlansAndSuites: Plan to copy 1 Plans?
vstssyncmigrator.exe Warning: 0 : [EXCEPTION] Value cannot be null.
Parameter name: value

In attachement you can find configuration file that I'm currently using
vsconfig.txt

@mishra1010
Copy link
Contributor

I am also facing the exact same error while migrating test plans and suites and there is no details from which i can figure out the real cause here.

@MrHinsh
Copy link
Member

MrHinsh commented Aug 16, 2017

  • What is the version of the VstsMigration tools are you using
  • Can you give me your session ID from the log file so I can look up the exception in the telemetry.

@lchwastyk
Copy link
Author

The version is: 7.1.7.0
SessionID: 491a2298-05ec-4312-bf19-a575328a23f0

@MrHinsh
Copy link
Member

MrHinsh commented Aug 16, 2017

First, lease update to 7.5.0, which is the latest version...
Second, it looks like this has fallen out of the scope of my 7 day data window. Can you re-run to get the exception and give me the new session ID... The exception should be in the log as well...

@lchwastyk
Copy link
Author

Still having the same problem,
[Info]: Running version detected as 7.5.1.0
[Info]: Telemitery Enabled: True
[Info]: SessionID: da42418a-2fff-43aa-95e3-651a385039f1

@MrHinsh
Copy link
Member

MrHinsh commented Aug 16, 2017

I see the exception... can you send me your config? I am sure there is a missing OnlyElementsWithTag in the config...

@MrHinsh
Copy link
Member

MrHinsh commented Aug 16, 2017

Looks like the bug was introduced by @hkoestin when adding #29.

I think if you add an empty OnlyElementsWithTag property to the config for that processor you will get by the error... If so, let me know and I can apply a fix...

image

image

@lchwastyk
Copy link
Author

The config is in the first post, and you are right there is missing OnlyElementsWithTag, now I've just updated the config with "OnlyElementsWithTag" : "". Now I don't see any errors/exceptions and all test plans were migrated. Thank you Martin for fast repose, I really appreciate it.

nkdagilitybot pushed a commit that referenced this issue Aug 16, 2017
nkdagilitybot pushed a commit that referenced this issue Aug 16, 2017
…n with

When OnlyElementsWithTag is null an exception is thrown with CanSkipElementBecauseOfTag. This fixes #45 (in GitHub) ...
@hkoestin
Copy link
Contributor

Sorry for the inconvenience about the tag.
I forgot to adapt the default config to include an empty tag there or just add a check for the null-value.

@nhuthan
Copy link

nhuthan commented Oct 17, 2017

i got this error
image

@MrHinsh
Copy link
Member

MrHinsh commented Oct 17, 2017

@nhuthan This is unrelated to this topic. Please post as a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants