ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | oscar List | April 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [oscar] Get a ressource from another bundle



I'd like to get the url of an xml file situated in a bundle from another one. I use context.getBundle().getResource(XML_FILE) the returned url seems like this : bundle://14.0/pitask.xml (which is correct) but when i use this url from the other bundle to get this resource i have a null pointer exception.

There was a thread in October 2004 about URL handlers...
http://mail-archive.objectweb.org/oscar/2004-10/msg00022.html
and more specifically:
http://mail-archive.objectweb.org/oscar/2004-10/msg00037.html

Maybe this could explain your problem.

/michel



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.