On 7/13/11 10:48, Bigard Olivier wrote:
It's very hard for me to reproduce this problem, so I'm pretty sure I can't
generate a working test case...
Bummer.
This area has changed a bit. You could try to reproduce it with the
latest 3.3.0 snapshot from the Maven repo snapshot repo. I wouldn't
recommend really using the snapshot version unless you are purely in
development mode and are willing to live on the edge.
-> richard
Sorry about that...
Olivier
-----Message d'origine-----
De : Richard S. Hall [mailto:[email protected]]
Envoyé : mercredi 13 juillet 2011 16:43
À : [email protected]
Objet : Re: NullPointerException when trying to load class
Not aware of it. Is this something that you can give me a working test case?
-> richard
On 7/13/11 9:46, Olivier Bigard wrote:
Hi,
We are using Felix 3.2.2 and sometimes following NPE occurs when Framework
tries to load a class during Bundle startup:
Caused by: java.lang.Exception: org.osgi.framework.BundleException:
Activator start error in bundle XXX [167].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1951)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
... 8 more
Caused by: java.lang.Exception: java.lang.NullPointerException: null
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1853)
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:752)
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:670)
at
org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3808)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1899)
... 12 more
I had a look at Felix sources and found that some ContextPath object seems
to be null...
Does anyone already got this error?
Thank you
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]