Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-519

osgiregistry: Unable to create RuntimeDelegate instance: ClassNotFoundException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      Noticed this while debugging and verifying NETCONF-516. The ERROR (below) is seen by
      simply from these two karaf cli commands:

      opendaylight-user@root>feature:install odl-mdsal-trace                     
      opendaylight-user@root>feature:install --no-auto-refresh odl-infrautils-ready odl-netvirt-openstack

      ERROR:

      2018-03-01T06:20:17,304 | ERROR | features-1-thread-1 | OsgiRegistry                     | 62 - com.sun.jersey.core - 1.17.0 | Unable to create RuntimeDelegate instance.
      java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl cannot be found by com.sun.jersey.core_1.17.0
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461) ~[?:?]
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372) ~[?:?]
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364) ~[?:?]
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161) ~[?:?]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
              at com.sun.jersey.core.osgi.OsgiRegistry.hookUp(OsgiRegistry.java:387) ~[?:?]
              at com.sun.jersey.core.osgi.OsgiRegistry.getInstance(OsgiRegistry.java:119) ~[?:?]
              at com.sun.jersey.core.osgi.Activator.start(Activator.java:55) ~[?:?]
              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) ~[?:?]
              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) [?:?]
      

            jluhrsen Jamo Luhrsen
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: