Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1716

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Nitrogen
    • None
    • config
    • None
    • Operating System: All
      Platform: All

    • 8662

    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:]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: