Michael,

forget the workaround, zip executor is broken in 1.7.2.

I fixed this issue (http://issues.ops4j.org/browse/PAXRUNNER-395).
You can pick up the fixed build here [1]  for testing purpose.

If nothing speaks against it, i will cut the 1.7.3 release at the end
of the day.

Sorry for any inconvenience,
Toni

[1] 
http://ci.okidokiteam.com/hudson/job/org.ops4j.pax.runner/lastBuild/org.ops4j.pax.runner$pax-runner-assembly/

On Fri, May 20, 2011 at 1:58 PM, Toni Menzel <[email protected]> wrote:
> 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 <[email protected]>:
>> 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 <[email protected]>
>>>
>>> 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
>>> [email protected]
>>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>> _______________________________________________
>> general mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>
>
>
> --
> Toni Menzel Source
>



-- 
Toni Menzel Source

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to