2016-01-12 17:58:23,980 | ERROR | qtp2108514733-54 | onos-app-ecord-co | 302 - org.onosproject.onos-app-ecord-co - 1.5.0.SNAPSHOT | [org.onosproject.ecord.co.BigSwitchDeviceProvider(125)] The activate method has thrown an exception java.lang.NullPointerException at org.onosproject.net.device.impl.DeviceManager$InternalDeviceProviderService.consolidate(DeviceManager.java:456) at org.onosproject.net.device.impl.DeviceManager$InternalDeviceProviderService.lambda$updatePorts$64(DeviceManager.java:416) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_60] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_60] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[:1.8.0_60] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[:1.8.0_60] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_60] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_60] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_60] at org.onosproject.net.device.impl.DeviceManager$InternalDeviceProviderService.updatePorts(DeviceManager.java:417) at org.onosproject.ecord.co.BigSwitchDeviceProvider.registerToDeviceProvider(BigSwitchDeviceProvider.java:230) at org.onosproject.ecord.co.BigSwitchDeviceProvider.activate(BigSwitchDeviceProvider.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60] at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149) at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:315) at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127) at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871) at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:850) at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:419) at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:376) at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:172) at org.apache.felix.scr.impl.BundleComponentActivator.(BundleComponentActivator.java:120) at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:258) at org.apache.felix.scr.impl.Activator.access$000(Activator.java:45) at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:185) at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259) at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232) at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479)[karaf-org.osgi.core.jar:] at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414)[karaf-org.osgi.core.jar:] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)[karaf-org.osgi.core.jar:] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)[karaf-org.osgi.core.jar:] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:501) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:459) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:400) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:378) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:359) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:337) at Proxyf24891d9_c2d9_4bc5_a3c3_062037f0807e.installFeature(Unknown Source) at org.onosproject.app.impl.ApplicationManager.installAppFeatures(ApplicationManager.java:258) at org.onosproject.app.impl.ApplicationManager.access$100(ApplicationManager.java:61) at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:189) at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:182) at org.onosproject.store.app.GossipApplicationStore$InternalAppStatesListener.event(GossipApplicationStore.java:401) at org.onosproject.store.ecmap.EventuallyConsistentMapImpl.lambda$notifyListeners$234(EventuallyConsistentMapImpl.java:512) at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890)[:1.8.0_60] at java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:404)[:1.8.0_60] at org.onosproject.store.ecmap.EventuallyConsistentMapImpl.notifyListeners(EventuallyConsistentMapImpl.java:512) at org.onosproject.store.ecmap.EventuallyConsistentMapImpl.put(EventuallyConsistentMapImpl.java:323) at org.onosproject.store.app.GossipApplicationStore.activate(GossipApplicationStore.java:319) at org.onosproject.store.app.GossipApplicationStore.activate(GossipApplicationStore.java:308) at org.onosproject.store.app.GossipApplicationStore.activate(GossipApplicationStore.java:303) at org.onosproject.app.impl.ApplicationManager.activate(ApplicationManager.java:166) at org.onosproject.cli.app.ApplicationCommand.manageApp(ApplicationCommand.java:93) at org.onosproject.cli.app.ApplicationCommand.execute(ApplicationCommand.java:60) at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:129) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy017c3d10_68b2_4f96_889f_5bd821d422eb.execute(Unknown Source)[:] at Proxy017c3d10_68b2_4f96_889f_5bd821d422eb.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[128:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_60] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[128:org.apache.karaf.shell.ssh:3.0.3] 2016-01-12 18:08:23,824 | ERROR | h for user karaf | onos-app-ecord-co | 354 - org.onosproject.onos-app-ecord-co - 1.5.0.SNAPSHOT | [org.onosproject.ecord.co.BigSwitchDeviceProvider(137)] Failed creating the component instance; see log for reason