Hi guys,

I have the following bundles deployed in Felix:

   11|Active     |    1|OPS4J Pax Web - Extender - WAR (1.0.3)
   12|Active     |    1|OPS4J Pax Web - Extender - Whiteboard (1.0.3)
   13|Active     |    1|OPS4J Pax Web - Jetty Bundle (1.0.3)
   14|Active     |    1|OPS4J Pax Web - Jsp Support (1.0.3)
   15|Active     |    1|OPS4J Pax Web - Service SPI (1.0.3)


When I shutdown Felix either by doing ctrl-c in gosh, or by stopping the
system bundle by doing 'stop 0', I get the following NPE:

 2011-05-08 13:35:27.862:INFO::stopped
HttpServiceContext{httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@775925c0
}
ERROR: Bundle org.ops4j.pax.web.pax-web-jetty-bundle [13] EventDispatcher:
Error during dispatch. (java.lang.NullPointerException)
java.lang.NullPointerException
    at
org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:355)
    at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922)
    at
org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351)
    at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:865)
    at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
    at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
    at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3894)
    at org.apache.felix.framework.Felix.access$000(Felix.java:79)
    at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:722)
    at
org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
    at
org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
    at
org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:178)
    at org.apache.felix.framework.Felix.stopBundle(Felix.java:2244)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1202)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
    at java.lang.Thread.run(Thread.java:680)

Is there anything I'm doing wrong?  I can open a bug in Jira if necessary.

-John

-- 
John Hawksley
[email protected]
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to