Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rap-dev] Bug in RAP RWT Osgi

Thanks very much.

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: "Ralf Sternberg" <rsternberg@xxxxxxxxxxxxxxxxx>
An: "RAP project development-related communication" <rap-dev@xxxxxxxxxxx>
Gesendet: Mittwoch, 9. Mai 2012 14:50:02
Betreff: Re: [rap-dev] Bug in RAP RWT Osgi

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
<michael.szalay@xxxxxxxxxx> 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" <fr.appel@xxxxxxxxxxx>
> An: "RAP project development-related communication" <rap-dev@xxxxxxxxxxx>
> 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: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx] Im
> Auftrag von Michael Szalay
> Gesendet: Montag, 7. Mai 2012 14:19
> An: rap-dev@xxxxxxxxxxx
> 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
> rap-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/rap-dev
>
> _______________________________________________
> rap-dev mailing list
> rap-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/rap-dev
> _______________________________________________
> rap-dev mailing list
> rap-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev


Back to the top