Issue Type: Bug Bug
Assignee: Unassigned
Components: jdk_parameter_plugin
Created: 22/Apr/14 12:35 PM
Description:

I have a job where build is automatically triggered by git commits.
(ie. Trigger builds remotely (e.g., from scripts) is enabled)
I'm using Jenkins 1.560 and JDK Parameter Plugin 1.0 and I have a default JDK set for the plugin (jdk1.8)

User-triggered builds work normally.
Whenever automatic build occurs, a NPE is thrown:

using GIT_SSH to set credentials
Checking out Revision 1c33be19e2353a9f63d84a3749d657e728acd049 (origin/master)
ERROR: Processing failed due to a bug in the code. Please report this to [email protected]
java.lang.NullPointerException
at com.datalex.jdkparameter.JavaParameterValue.createBuildWrapper(JavaParameterValue.java:54)
at hudson.model.ParametersAction.createBuildWrappers(ParametersAction.java:78)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:646)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519)
at hudson.model.Run.execute(Run.java:1703)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:525)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
project=hudson.maven.MavenModuleSet@677131a2[DC2_autobuilder]

Project: Jenkins
Priority: Major Major
Reporter: Risto Oikarinen
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