[JIRA] [jdk_parameter_plugin] (JENKINS-22712) NPE when project build triggered remotely

2014-04-22 Thread r...@otit.fi (JIRA)














































Risto Oikarinen
 created  JENKINS-22712


NPE when project build triggered remotely















Issue Type:


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 jenkinsci-us...@googlegroups.com
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@677131a2DC2_autobuilder




Project:


Jenkins



Priority:


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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jdk_parameter_plugin] (JENKINS-22712) NPE when project build triggered remotely

2014-04-22 Thread r...@otit.fi (JIRA)














































Risto Oikarinen
 updated  JENKINS-22712


NPE when project build triggered remotely
















Change By:


Risto Oikarinen
(22/Apr/14 12:38 PM)




Description:


Ihaveajobwherebuildisautomaticallytriggeredbygitcommits.(ie.Triggerbuildsremotely(e.g.,fromscripts)isenabled)ImusingJenkins1.560andJDKParameterPlugin1.0andIhaveadefaultJDKsetfortheplugin(jdk1.8)User-triggeredbuildsworknormally.Wheneverautomaticbuildoccurs,aNPEisthrown:
{code}
usingGIT_SSHtosetcredentialsCheckingoutRevision1c33be19e2353a9f63d84a3749d657e728acd049(origin/master)ERROR:Processingfailedduetoabuginthecode.Pleasereportthistojenkinsci-us...@googlegroups.comjava.lang.NullPointerException	atcom.datalex.jdkparameter.JavaParameterValue.createBuildWrapper(JavaParameterValue.java:54)	athudson.model.ParametersAction.createBuildWrappers(ParametersAction.java:78)	athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:646)	athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519)	athudson.model.Run.execute(Run.java:1703)	athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:525)	athudson.model.ResourceController.execute(ResourceController.java:88)	athudson.model.Executor.run(Executor.java:231)project=hudson.maven.MavenModuleSet@677131a2[DC2_autobuilder]
{code}



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.