[ 
https://issues.apache.org/jira/browse/KARAF-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818985#comment-13818985
 ] 

Christian Schneider commented on KARAF-2566:
--------------------------------------------

This is the full trace of the problem:
org.osgi.framework.BundleException: Uses constraint violation. Unable to 
resolve bundle revision org.apache.xbean.finder [117.0] because it is exposed 
to package 'org.objectweb.asm' from bundle revisions 
org.apache.servicemix.bundles.asm [108.0] and org.objectweb.asm.all [43.0] via 
two dependency chains.

Chain 1:
  org.apache.xbean.finder [117.0]
    import: (&(osgi.wiring.package=org.objectweb.asm)(version>=3.1.0))
     |
    export: osgi.wiring.package=org.objectweb.asm
  org.apache.servicemix.bundles.asm [108.0]

Chain 2:
  org.apache.xbean.finder [117.0]
    import: (osgi.wiring.package=org.apache.xbean.asm4.original.commons)
     |
    export: osgi.wiring.package=org.apache.xbean.asm4.original.commons; 
uses:=org.objectweb.asm
  org.apache.xbean.reflect [116.0]
    import: (&(osgi.wiring.package=org.objectweb.asm)(version>=3.1.0))
     |
    export: osgi.wiring.package=org.objectweb.asm
  org.objectweb.asm.all [43.0]
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        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:468)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:427)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:362)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:351)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:334)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:312)
        at Proxy3a7db6a1_2974_4b7b_8d0a_fd3ba2882751.installFeature(Unknown 
Source)
        at 
org.apache.karaf.itests.KarafTestSupport.installAssertAndUninstallFeature(KarafTestSupport.java:346)
        at 
org.apache.karaf.itests.features.StandardFeaturesTest.checkInteractionOfHttpAndAriesAnnotationFeature(StandardFeaturesTest.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at 
org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:67)
        at 
org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
        at 
org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:123)
        at 
org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:96)
        at 
org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:177)
        at sun.rmi.transport.Transport$1.run(Transport.java:174)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)



> StandardFeaturesTest fail on aries-annotation feature
> -----------------------------------------------------
>
>                 Key: KARAF-2566
>                 URL: https://issues.apache.org/jira/browse/KARAF-2566
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-test
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>
> The Karaf itests fail on StandardFeaturesTest due to:
>   
> installAriesAnnotationFeature(org.apache.karaf.itests.features.StandardFeaturesTest):
>  Uses constraint violation. Unable to resolve bundle revision 
> org.apache.xbean.finder [140.0] because it is exposed to package 
> 'org.objectweb.asm' from bundle revisions org.apache.servicemix.bundles.asm 
> [110.0] and org.objectweb.asm.all [43.0] via two dependency chains.(..)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to