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

Unhandled exception with adr config author #61

Closed
adoble opened this issue Oct 24, 2024 · 2 comments
Closed

Unhandled exception with adr config author #61

adoble opened this issue Oct 24, 2024 · 2 comments

Comments

@adoble
Copy link
Owner

adoble commented Oct 24, 2024

Configuring an author without any name gives an exception:

# adr-dev config author
java.lang.NullPointerException: Cannot read the array length because "<local4>" is null
        at org.doble.commands.CommandConfig.author(CommandConfig.java:66)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2070)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at org.doble.adr.ADR.run(ADR.java:89)
        at org.doble.adr.ADR.main(ADR.java:65)
@adoble
Copy link
Owner Author

adoble commented Oct 24, 2024

Issue 61

@adoble
Copy link
Owner Author

adoble commented Oct 25, 2024

Closed with release 3.4.0

@adoble adoble closed this as completed Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant