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

YAML Export not working in version 2.0 #175

Closed
hesselonline opened this issue Dec 22, 2022 · 2 comments
Closed

YAML Export not working in version 2.0 #175

hesselonline opened this issue Dec 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@hesselonline
Copy link

Key
Release 2.0 breaks the exporting of YAML for us, version 1.0.21 works, same command only adding full URI when using 2.0.

Command for 1.0.21 - WORKS:

yamlizr generate -pat ********* -org ***** -proj ***** -out c:/temp/yamlizer --filter "*****"

Command for 2.0 - ERROR:

yamlizr generate -pat ********* -org https://dev.azure.com/***** -proj ***** -out c:/temp/yamlizer --filter "*****"

Describe the bug
Error returned by tool:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at CasCap.Commands.GenerateCommand.OnExecuteAsync() in //src/CasCap.DevOpsYamlizrCli/Commands/GenerateCommand.cs:line 131 at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments) at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken) at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at CasCap.Program.Main(String[] args) in //src/CasCap.DevOpsYamlizrCli/Program.cs:line 33 at CasCap.Program.

(String[] args)

To Reproduce
See above, we couldn't get 2.0 working.

Expected behavior
Export of YAML, which is not happening

Screenshots

Desktop (please complete the following information):

  • OS: Windows
  • .NET 7.0 SDK

Additional context
Add any other context about the problem here.

@hesselonline hesselonline added the bug Something isn't working label Dec 22, 2022
@f2calv
Copy link
Owner

f2calv commented Dec 22, 2022

Fixed and tested working in 2.0.1, please post here if further issues.

@f2calv f2calv closed this as completed Dec 22, 2022
@f2calv f2calv reopened this Dec 22, 2022
@f2calv
Copy link
Owner

f2calv commented Jan 11, 2023

Closing as duplicate of #177

@f2calv f2calv closed this as completed Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants