-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Java build 1.7.0_06-b24 64-bit
When I invoke http://jenkins-ci.org/jenkins.jnlp found at https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins#MeetJenkins-TestDrive I get:
java.lang.NullPointerException
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I tracked the problem down to a missing "codebase" attribute on the top-level "jnlp" element. Once you provide a value it Jenkins launches just fine.
According to http://weblogs.java.net/blog/kohsuke/archive/2009/07/why_cant_we_get.html this attribute was made optional in Java6 update 18 but then was made mandatory again for security reasons.
- is duplicated by
-
JENKINS-12148 Jenkins Java Web Start doesn't work
-
- Resolved
-
-
JENKINS-19238 jenkins.jnlp won't run under Java7 update 40
-
- Resolved
-
[JENKINS-14924] jenkins.jnlp throws NullPointerException
Description |
Original:
When I invoke hudson.jnlp found at https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins#MeetJenkins-TestDrive I get: java.lang.NullPointerException at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I tracked the problem down to a missing "codebase" attribute on the top-level "jnlp" element. Once you provide a value it Jenkins launches just fine. According to http://weblogs.java.net/blog/kohsuke/archive/2009/07/why_cant_we_get.html this attribute was made optional in Java6 update 18 but then was made mandatory again for security reasons. |
New:
When I invoke http://jenkins-ci.org/jenkins.jnlp found at https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins#MeetJenkins-TestDrive I get: java.lang.NullPointerException at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I tracked the problem down to a missing "codebase" attribute on the top-level "jnlp" element. Once you provide a value it Jenkins launches just fine. According to http://weblogs.java.net/blog/kohsuke/archive/2009/07/why_cant_we_get.html this attribute was made optional in Java6 update 18 but then was made mandatory again for security reasons. |
Summary | Original: hudson.jnlp throws NullPointerException | New: jenkins.jnlp throws NullPointerException |
Link |
New:
This issue is duplicated by |
Link |
New:
This issue is duplicated by |
Component/s | New: core [ 15593 ] | |
Component/s | Original: www [ 15484 ] |
Issue reproduced by opening http://jenkins-ci.org/jenkins.jnlp in a browser.
The solution is to add codebase in the jenkins.jnlp file:
<jnlp spec="1.0+" codebase="http://jenkins-ci.org/jenkins.jnlp">
Note that the wiki page still says "Launch Jenkins through Java Web Start for a test drive.", but there is no link in the page to do so.
There should be a link to http://jenkins-ci.org/jenkins.jnlp in this phrase.