[JIRA] [sbt] (JENKINS-22718) Getting a NullPointerException if sbt-launch.jar is not executable

2014-08-11 Thread sgj...@gmail.com (JIRA)














































Steven Goldsmith
 commented on  JENKINS-22718


Getting a NullPointerException if sbt-launch.jar is not executable 















The new location is actually /usr/share/sbt-launcher-packaging/bin for sbt launcher version 0.13.5.



























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] [sbt] (JENKINS-22718) Getting a NullPointerException if sbt-launch.jar is not executable

2014-08-11 Thread sgj...@gmail.com (JIRA)












































 
Steven Goldsmith
 edited a comment on  JENKINS-22718


Getting a NullPointerException if sbt-launch.jar is not executable 
















The new location is actually /usr/share/sbt-launcher-packaging/bin for sbt launcher version 0.13.5. Even after you sudo chmod a+x /usr/share/sbt-launcher-packaging/bin/sbt-launch.jar you still get:

FATAL: null
java.lang.NullPointerException
	at org.jvnet.hudson.plugins.SbtPluginBuilder.buildCmdLine(SbtPluginBuilder.java:159)
	at org.jvnet.hudson.plugins.SbtPluginBuilder.perform(SbtPluginBuilder.java:111)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
	at hudson.model.Build$BuildExecution.build(Build.java:198)
	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
	at hudson.model.Run.execute(Run.java:1710)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)



























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] [sbt] (JENKINS-22718) Getting a NullPointerException if sbt-launch.jar is not executable

2014-08-11 Thread sgj...@gmail.com (JIRA)












































 
Steven Goldsmith
 edited a comment on  JENKINS-22718


Getting a NullPointerException if sbt-launch.jar is not executable 
















The new location is actually /usr/share/sbt-launcher-packaging/bin for sbt launcher version 0.13.5. chmod a+r /usr/share/sbt-launcher-packaging/bin/sbt-launch.jar is not required since it's already set, but you still get:

FATAL: null
java.lang.NullPointerException
	at org.jvnet.hudson.plugins.SbtPluginBuilder.buildCmdLine(SbtPluginBuilder.java:159)
	at org.jvnet.hudson.plugins.SbtPluginBuilder.perform(SbtPluginBuilder.java:111)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
	at hudson.model.Build$BuildExecution.build(Build.java:198)
	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
	at hudson.model.Run.execute(Run.java:1710)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)



























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] [sbt] (JENKINS-22718) Getting a NullPointerException if sbt-launch.jar is not executable

2014-04-22 Thread hrleq...@gmail.com (JIRA)














































Richard Tarczaly
 created  JENKINS-22718


Getting a NullPointerException if sbt-launch.jar is not executable 















Issue Type:


Bug



Affects Versions:


current



Assignee:


uzilan



Components:


sbt



Created:


22/Apr/14 3:13 PM



Description:


See the stacktrace below if sbt-launch.jar is not executable. I upgraded to SBT 0.13.2 installing it RPM and it so happens that the jar is only "a+r".
Once I did a "chmod a+x sbt-launch.jar" the NPE did not happen anymore.

java.lang.NullPointerException
	at org.jvnet.hudson.plugins.SbtPluginBuilder.buildCmdLine(SbtPluginBuilder.java:159)
	at org.jvnet.hudson.plugins.SbtPluginBuilder.perform(SbtPluginBuilder.java:111)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:740)
	at hudson.model.Build$BuildExecution.build(Build.java:198)
	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519)
	at hudson.model.Run.execute(Run.java:1703)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)




Environment:


CentOS 6.5

sbt 0.13.2 (installed as RPM)

Jenkins 1.560

sbt plugin 1.4




Project:


Jenkins



Priority:


Major



Reporter:


Richard Tarczaly

























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.