Hi

Guys when you mess anything with OSGi then please run the tests in
camel-itest-karaf and camel-itest-osgi to ensure it still seems
working.
We all know that OSGi can be a ***** to love and hate.

There seems to be some changes in the features file which causes all
the camel-itest-osgi tests to fail (see stacktrace below).

It is very important that these OSGi tests can be run as its our
insurance that Camel works well with OSGi.





java.lang.RuntimeException: org.ops4j.pax.scanner.ScannerException:
Cannot load the feature named 'camel-core' with version '0.0.0'
        at org.ops4j.pax.runner.Run.installBundles(Run.java:506)
        at org.ops4j.pax.runner.Run.start(Run.java:222)
        at org.ops4j.pax.runner.Run.start(Run.java:182)
        at 
org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer.start(PaxRunnerTestContainer.java:282)
        at 
org.ops4j.pax.exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java:142)
        at 
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
        at 
org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
        at 
org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:246)
        at 
org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:196)
        at 
org.ops4j.pax.exam.junit.JUnit4TestRunner$2.run(JUnit4TestRunner.java:186)
        at 
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
        at 
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
        at 
org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:182)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
        at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:71)
        at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
        at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: org.ops4j.pax.scanner.ScannerException: Cannot load the
feature named 'camel-core' with version '0.0.0'
        at 
org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:148)
        at 
org.ops4j.pax.scanner.features.internal.FeaturesScanner.scan(FeaturesScanner.java:94)
        at 
org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:155)
        at 
org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:93)
        at org.ops4j.pax.runner.Run.installBundles(Run.java:481)
        ... 24 more
Caused by: org.ops4j.pax.scanner.ScannerException: Cannot load the
feature named 'spring' with version '[3,4)'
        at 
org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:148)
        at 
org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:131)
        ... 28 more
Caused by: org.ops4j.pax.scanner.ScannerException: No feature named
'spring' with version '[3,4)' available
        at 
org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:127)
        ... 29 more

-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to