Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14877

Camel-Osgi-Activator: tests are failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: karaf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      org.apache.karaf.features.internal.util.MultiException: Error restarting bundles:
      	Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      	Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1044)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
      	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: Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/Component
      		at org.apache.camel.core.osgi.impl.Activator.registerComponents(Activator.java:205)
      		at org.apache.camel.core.osgi.impl.Activator.addingBundle(Activator.java:141)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
      		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.BundleTracker.open(BundleTracker.java:156)
      		at org.apache.camel.core.osgi.impl.Activator.start(Activator.java:106)
      		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.Component not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 22 more
      	Suppressed: org.osgi.framework.BundleException: Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/RoutesBuilder
      		at java.lang.Class.getDeclaredConstructors0(Native Method)
      		at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      		at java.lang.Class.getConstructor0(Class.java:3075)
      		at java.lang.Class.newInstance(Class.java:412)
      		at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4512)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2221)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 18 more
      org.apache.karaf.features.internal.util.MultiException: Error restarting bundles:
      	Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      	Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1044)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
      	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: Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/Component
      		at org.apache.camel.core.osgi.impl.Activator.registerComponents(Activator.java:205)
      		at org.apache.camel.core.osgi.impl.Activator.addingBundle(Activator.java:141)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
      		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.BundleTracker.open(BundleTracker.java:156)
      		at org.apache.camel.core.osgi.impl.Activator.start(Activator.java:106)
      		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.Component not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 22 more
      	Suppressed: org.osgi.framework.BundleException: Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/RoutesBuilder
      		at java.lang.Class.getDeclaredConstructors0(Native Method)
      		at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      		at java.lang.Class.getConstructor0(Class.java:3075)
      		at java.lang.Class.newInstance(Class.java:412)
      		at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4512)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2221)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 18 more
      org.apache.karaf.features.internal.util.MultiException: Error restarting bundles:
      	Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      	Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1044)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
      	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: Activator start error in bundle org.apache.camel.karaf.camel-core-osgi [25].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/Component
      		at org.apache.camel.core.osgi.impl.Activator.registerComponents(Activator.java:205)
      		at org.apache.camel.core.osgi.impl.Activator.addingBundle(Activator.java:141)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
      		at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
      		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.BundleTracker.open(BundleTracker.java:156)
      		at org.apache.camel.core.osgi.impl.Activator.start(Activator.java:106)
      		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.Component not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 22 more
      	Suppressed: org.osgi.framework.BundleException: Activator start error in bundle org.apache.camel.karaf.camel-osgi-activator [26].
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
      		at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
      		at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
      		at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
      		at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
      		... 6 more
      	Caused by: java.lang.NoClassDefFoundError: org/apache/camel/RoutesBuilder
      		at java.lang.Class.getDeclaredConstructors0(Native Method)
      		at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      		at java.lang.Class.getConstructor0(Class.java:3075)
      		at java.lang.Class.newInstance(Class.java:412)
      		at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4512)
      		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2221)
      		... 12 more
      	Caused by: java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
      		at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
      		at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
      		at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
      		at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
      		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      		... 18 more
      [ERROR] Tests run: 9, Failures: 3, Errors: 6, Skipped: 0, Time elapsed: 18.538 s <<< FAILURE! - in org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT
      [ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved  Time elapsed: 0.05 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.CamelContext not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved(CamelOsgiActivatorIT.java:124)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded  Time elapsed: 0.004 s  <<< FAILURE!
      java.lang.AssertionError: Camel Core OSGi not activated expected:<32> but was:<4>
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded(CamelOsgiActivatorIT.java:80)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved  Time elapsed: 0.007 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved(CamelOsgiActivatorIT.java:95)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved  Time elapsed: 0.053 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.CamelContext not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved(CamelOsgiActivatorIT.java:124)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded  Time elapsed: 0.007 s  <<< FAILURE!
      java.lang.AssertionError: Camel Core OSGi not activated expected:<32> but was:<4>
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded(CamelOsgiActivatorIT.java:80)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved  Time elapsed: 0.011 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved(CamelOsgiActivatorIT.java:95)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved  Time elapsed: 0.072 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.CamelContext not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved(CamelOsgiActivatorIT.java:124)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded  Time elapsed: 0.006 s  <<< FAILURE!
      java.lang.AssertionError: Camel Core OSGi not activated expected:<32> but was:<4>
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded(CamelOsgiActivatorIT.java:80)[ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved  Time elapsed: 0.01 s  <<< ERROR!
      java.lang.ClassNotFoundException: org.apache.camel.RoutesBuilder not found by org.apache.camel.camel-core-engine [18]
      	at org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved(CamelOsgiActivatorIT.java:95)[INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testBundleLoaded
      [ERROR]   Run 1: CamelOsgiActivatorIT.testBundleLoaded:80 Camel Core OSGi not activated expected:<32> but was:<4>
      [ERROR]   Run 2: CamelOsgiActivatorIT.testBundleLoaded:80 Camel Core OSGi not activated expected:<32> but was:<4>
      [ERROR]   Run 3: CamelOsgiActivatorIT.testBundleLoaded:80 Camel Core OSGi not activated expected:<32> but was:<4>
      [INFO] 
      [ERROR] Errors: 
      [ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testPreStartupLoadAndRemoved
      [ERROR]   Run 1: CamelOsgiActivatorIT.testPreStartupLoadAndRemoved:124 » ClassNotFound org.apac...
      [ERROR]   Run 2: CamelOsgiActivatorIT.testPreStartupLoadAndRemoved:124 » ClassNotFound org.apac...
      [ERROR]   Run 3: CamelOsgiActivatorIT.testPreStartupLoadAndRemoved:124 » ClassNotFound org.apac...
      [INFO] 
      [ERROR] org.apache.camel.component.osgi.activator.CamelOsgiActivatorIT.testRouteLoadAndRemoved
      [ERROR]   Run 1: CamelOsgiActivatorIT.testRouteLoadAndRemoved:95 » ClassNotFound org.apache.cam...
      [ERROR]   Run 2: CamelOsgiActivatorIT.testRouteLoadAndRemoved:95 » ClassNotFound org.apache.cam...
      [ERROR]   Run 3: CamelOsgiActivatorIT.testRouteLoadAndRemoved:95 » ClassNotFound org.apache.cam...
      [INFO] 
      [INFO] 
      [ERROR] Tests run: 3, Failures: 1, Errors: 2, Skipped: 0
      
      

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              acosentino Andrea Cosentino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: