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

[changelog] NPE when generating changelog #556

Closed
3 of 4 tasks
aalmiray opened this issue Nov 30, 2021 · 0 comments
Closed
3 of 4 tasks

[changelog] NPE when generating changelog #556

aalmiray opened this issue Nov 30, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aalmiray
Copy link
Member

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Configure a project with a JAVA_BINARY distribution.
  2. Invoke jreleaser changelog

Expected Behaviour

The changelog is generated as expected.

Actual Behaviour

An NPE occurs during checksum validation.

Environment Information

  • Operating System: N/A
  • JReleaser Version: 0.9.0
  • JDK Version: N/A
[INFO]  Validating configuration
[DEBUG]   [validation] project
[DEBUG]   [validation] signing
[DEBUG]   [validation] upload
[DEBUG]   [validation] artifactory
[DEBUG]   [validation] http
[DEBUG]   [validation] s3
[DEBUG]   [validation] release
[DEBUG]   [validation] release.github
java.lang.NullPointerException
	at java.io.StringReader.<init>(StringReader.java:50)
	at org.jreleaser.util.MustacheUtils.applyTemplate(MustacheUtils.java:78)
	at org.jreleaser.model.Checksum.getResolvedName(Checksum.java:52)
	at org.jreleaser.model.Checksum.getResolvedName(Checksum.java:56)
	at org.jreleaser.model.releaser.spi.AbstractReleaserBuilder.configureWith(AbstractReleaserBuilder.java:125)
	at org.jreleaser.engine.release.Releasers.releaserFor(Releasers.java:49)
	at org.jreleaser.engine.context.ContextCreator.create(ContextCreator.java:79)
	at org.jreleaser.cli.AbstractModelCommand.createContext(AbstractModelCommand.java:138)
	at org.jreleaser.cli.AbstractModelCommand.execute(AbstractModelCommand.java:79)
	at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:70)
	at org.jreleaser.cli.AbstractModelCommand.call(AbstractModelCommand.java:46)
	at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:41)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
	at picocli.CommandLine.access$1300(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
	at picocli.CommandLine.execute(CommandLine.java:2078)
	at org.jreleaser.cli.Main.execute(Main.java:71)
	at org.jreleaser.cli.Main.run(Main.java:56)
	at org.jreleaser.cli.Main.main(Main.java:47)
@aalmiray aalmiray added the bug Something isn't working label Nov 30, 2021
@aalmiray aalmiray added this to the v1.0.0 milestone Nov 30, 2021
@aalmiray aalmiray self-assigned this Nov 30, 2021
@aalmiray aalmiray modified the milestones: v1.0.0, 0.9.1 Nov 30, 2021
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

1 participant