-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
None
-
None
-
None
While installing "features-of-config", encountered the following error with Oxygen.
opendaylight-user@root>feature:install features-of-config Error executing command: Error restarting bundles: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. opendaylight-user@root>
Checked logs:
2018-04-05 08:42:50,674 | ERROR | nsole user karaf | ShellUtil | 48 - org.apache.karaf.shell.core - 4.1.3 | Exception caught while executing command org.apache.karaf.features.internal.util.MultiException: Error restarting bundles: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:896) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1248) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$1(FeaturesServiceImpl.java:1147) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Suppressed: org.osgi.framework.BundleException: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) ~[?:?] at org.eclipse.osgi.container.Module.doStart(Module.java:581) ~[?:?] at org.eclipse.osgi.container.Module.start(Module.java:449) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1361) ~[?:?] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:888) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1248) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$1(FeaturesServiceImpl.java:1147) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: java.lang.IllegalStateException: Monitoring service was already added at com.google.common.base.Preconditions.checkState(Preconditions.java:501) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:37) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:23) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) ~[?:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[?:?] at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183) ~[?:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318) ~[?:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start(NetconfMonitoringActivator.java:31) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) ~[?:?] ... 15 more