NullPointerException at org.opendaylight.controller.config.manager.impl.osgi.mapping.RefreshingSCPModuleInfoRegistry.updateService

Description

As part of overall GENIUS-82 see Karaf 4 LOG on start-up of genius distribution, without any feature:install yet full log attached there, this NPE from Controller Config (CSS) appears in Karaf 4 (only, AFAIK) based distributions during shutdown (by Ctrl-D in Console):

2017-06-12 12:35:28,637 | WARN | cf0-b3a2fe605db0 | RefreshingSCPModuleInfoRegistry | 184 - org.opendaylight.controller.config-manager - 0.7.0.SNAPSHOT | Error updating the BindingContextProvider
java.lang.NullPointerException
at org.opendaylight.controller.config.manager.impl.osgi.mapping.RefreshingSCPModuleInfoRegistry.updateService(RefreshingSCPModuleInfoRegistry.java:63)[184:org.opendaylight.controller.config-manager:0.7.0.SNAPSHOT]
at org.opendaylight.controller.config.manager.impl.osgi.mapping.RefreshingSCPModuleInfoRegistry$ObjectRegistrationWrapper.close(RefreshingSCPModuleInfoRegistry.java:102)[184:org.opendaylight.controller.config-manager:0.7.0.SNAPSHOT]
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.removedBundle(ModuleInfoBundleTracker.java:117)[184:org.opendaylight.controller.config-manager:0.7.0.SNAPSHOT]
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.removedBundle(ModuleInfoBundleTracker.java:31)[184:org.opendaylight.controller.config-manager:0.7.0.SNAPSHOT]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:495)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:415)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)[org.osgi.core-6.0.0.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.unresolve0(ModuleContainer.java:904)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.unresolve(ModuleContainer.java:755)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:953)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]

Environment

Operating System: All
Platform: All

Activity

Show:

Michael Vorburger June 12, 2017 at 11:17 AM

Done

Details

Assignee

Reporter

External issue ID

Components

Affects versions

Priority

Created June 12, 2017 at 10:49 AM
Updated October 19, 2017 at 9:24 PM
Resolved June 12, 2017 at 7:38 PM