Change By: kutzi (14/May/14 2:51 PM)
Description: I've create a minimal README.md

{noformat}
# Build

   ./gradlew clean build
{noformat}

However, literate-plugin throws an NPE while building:

{noformat}
Parsing literate build description...
Literate build description:
FATAL: null
java.lang.NullPointerException
at org.cloudbees.literate.jenkins.LiterateBranchBuild$RunnerImpl.doRun(LiterateBranchBuild.java:238)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565)
at hudson.model.Run.execute(Run.java:1592)
at org.cloudbees.literate.jenkins.LiterateBranchBuild.run(LiterateBranchBuild.java:211)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
{noformat}

From the stacktrace it looked like the plugin was missing 'environments', so I added one:

{noformat}
# Build

   ./gradlew clean build

# Environments

* `linux`
{noformat}

However, the issue remains
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to