ops4j / org.ops4j.pax.runner

Multi Framework OSGi Runner
http://team.ops4j.org/wiki/display/paxrunner/
47 stars 39 forks source link

Executor script and zip lead to NPE [PAXRUNNER-395] #405

Closed ops4j-issues closed 13 years ago

ops4j-issues commented 13 years ago

Toni Menzel created PAXRUNNER-395

I just updated to using Pax Runner 1.7.2 but get an NPE when running with "-Dexecutor=zip" ! Is this not supported anymore ? Runner 1.6.1 (my previously used version) works fine.

Error:
-> Start WIN command line [[java, -Duser.timezone=UTC, -Dosgi.install.area=equinox, -cp, bundles/org.eclipse.osgi_3.5.1.R35x_v20090827.jar, org.eclipse.core.runtime.adaptor.EclipseStarter, -console, -configuration, equinox]]

_
/ /
/ / Oops, there has been a problem!
/ /
/_/ null

/__/

-> Exception caught during execution:
java.lang.NullPointerException
at org.ops4j.pax.runner.platform.ScriptJavaRunner.getShellScript(ScriptJavaRunner.java:138)
at org.ops4j.pax.runner.platform.ScriptJavaRunner.exec(ScriptJavaRunner.java:91)
at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:211)
at org.ops4j.pax.runner.Run.startPlatform(Run.java:664)
at org.ops4j.pax.runner.Run.start(Run.java:207)
at org.ops4j.pax.runner.Run.main(Run.java:134)
at org.ops4j.pax.runner.Run.main(Run.java:102)
...


Affects: 1.7.2 Fixed in: 1.7.3 Votes: 0, Watches: 0