Hi Michael, thanks for pointing out this problem. I've changed the path to be relative, the fix will be included in the next nightly build and in 1.5 RC1.
Regards, Ralf On Tue, May 8, 2012 at 7:55 AM, Michael Szalay <[email protected]> wrote: > Hi Frank > > I tested with Apache Karaf (which is based on Apache Felix) and Elipse Virgo > 3. Both gave > the same error. > > Then I found out that with an old and patched version of Eclipse Virgo > (2.1.1, according > to this http://wiki.eclipse.org/RAP/Running_RAP_on_virgo), it works. > > Regards > Michael > > -- > Michael Szalay > Senior Software Engineer > > basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 > http://www.basis06.ch - source of smart business > > ----- Ursprüngliche Mail ----- > Von: "Frank Appel" <[email protected]> > An: "RAP project development-related communication" <[email protected]> > Gesendet: Dienstag, 8. Mai 2012 07:41:26 > Betreff: Re: [rap-dev] Bug in RAP RWT Osgi > > Hi, > > by just having a glance at it, it's surprising how this could ever work - > hm. Unfortunately I can't think of a workaround, sorry. May I ask, which > OSGi implementation you are working with? > > I've openend an issue regarding this problem, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=378778. > > > Thanks > Frank > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] Im > Auftrag von Michael Szalay > Gesendet: Montag, 7. Mai 2012 14:19 > An: [email protected] > Betreff: [rap-dev] Bug in RAP RWT Osgi > > Hi all > > there is a bug in the RAP RWT OSGi Bundle Version 1.5.0M6, Class > ApplicationLauncherImpl, line 229. > The OSGi spec sais that any path passed to bundleContext.getDataFile() > should be relative > (http://www.osgi.org/javadoc/r4v43/org/osgi/framework/BundleContext.html#get > DataFile(java.lang.String)) > > ApplicationLauncherImpl calls this method always with an absolute path (see > method getContextFileName), which will return null and then there is a NPE > on line 221. > > Is there any workaround on this? > > Regards > Michael > > -- > Michael Szalay > Senior Software Engineer > > basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 > http://www.basis06.ch - source of smart business > _______________________________________________ > rap-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/rap-dev > > _______________________________________________ > rap-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/rap-dev > _______________________________________________ > rap-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/rap-dev _______________________________________________ rap-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/rap-dev
