Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3
-
None
-
None
-
Novice
Description
When I stop the topologymanager, the following exception pops up:
java.lang.NullPointerException
at org.apache.cxf.dosgi.topologymanager.TopologyManager.removeRemoteServiceAdmin(TopologyManager.java:139)
at org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList.removeRemoteServiceAdmin(RemoteServiceAdminList.java:83)
at org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList$1.removedService(RemoteServiceAdminList.java:68)
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.close(ServiceTracker.java:403)
at org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList.stop(RemoteServiceAdminList.java:99)
at org.apache.cxf.dosgi.topologymanager.Activator.stop(Activator.java:83)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:651)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2216)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:679)
The Utils.getEndpointListeners method returns null, causing problems in the for-each below.