Shit, yes, true. Will fix it and cut 1.7.3 this evening.

Workaround:
add this option to the commandline:
--envo="foo-bar"

where any "<somekey>=<somevalue>" does the job.
Problem is when there is no option value given, you get the
aforementioned null "default" + NPE.



2011/5/20 Michael Täschner <m.taesch...@googlemail.com>:
> Hi Toni,
>
> 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)
>         ...
>
> Thanks and Regards,
> Michael
>
> 2011/5/20 Toni Menzel <t...@okidokiteam.com>
>>
>> Pax Runner 1.7.2 has been released.
>> This release is a minor feature+bugfix for Pax Runner 1.7.x
>>
>> Add support for Felix 1.3.2 (Note: Upcoming Pax Runner 1.8 will
>> support generic framework versions)
>>
>> Fixed slf4j integration when using embedded Pax Runner
>> More flexible options for provisioning
>> All users of Pax Runner should upgrade to 1.7.2.
>>
>> Checkout release notes for details.
>>
>> Thanks to Dmytro Pishchukhin for work that has been cherry-picked from
>> 1.8 into this release.
>>
>>
>> cheers,
>> Toni
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/general
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Toni Menzel Source

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to