felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: NPE in Bundle#findEntries
Date Thu, 18 Jun 2009 14:50:27 GMT
It works, thx !

On Thu, Jun 18, 2009 at 16:27, Richard S. Hall<heavy@ungoverned.org> wrote:
> Ok, it should be working now. I needed to special case the system bundle.
>
> -> richard
>
> On 6/18/09 10:18 AM, Richard S. Hall wrote:
>>
>> I just modified/added this code yesterday, so I likely introduced a
>> bug...I will check.
>>
>> -> richard
>>
>> On 6/18/09 10:08 AM, Guillaume Nodet wrote:
>>>
>>> I've just hit the following NPE while testing karaf with the latest
>>> felix framework:
>>>
>>> ERROR: Error starting
>>>
>>> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxp-api-1.4/1.4-SNAPSHOT
>>> (org.osgi.framework.BundleException: Activator start error in bundle
>>> org.apache.servicemix.specs.jaxp-api-1.4 [1].)
>>> java.lang.NullPointerException
>>>    at
>>> org.apache.felix.framework.ModuleImpl.getEntries(ModuleImpl.java:437)
>>>    at
>>> org.apache.felix.framework.FindEntriesEnumeration.<init>(FindEntriesEnumeration.java:37)
>>>    at org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1307)
>>>    at
>>> org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:238)
>>>    at
>>> org.apache.servicemix.specs.locator.Activator.register(Activator.java:97)
>>>    at
>>> org.apache.servicemix.specs.locator.Activator.start(Activator.java:70)
>>>    at
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>>    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1602)
>>>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1524)
>>>    at
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:991)
>>>    at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>    at java.lang.Thread.run(Thread.java:613)
>>>
>>> Any ideas ?
>>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
View raw message