[
https://issues.apache.org/jira/browse/DOSGI-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved DOSGI-109.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.4
Closing the issue as it should be fixed during the refactoring and we got no
other feedback.
> NullPointerException in ToloplogyManager during bundle stop
> -----------------------------------------------------------
>
> Key: DOSGI-109
> URL: https://issues.apache.org/jira/browse/DOSGI-109
> Project: CXF Distributed OSGi
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Bert Jacobs
> Assignee: Christian Schneider
> Fix For: 1.4
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira