[ 
https://issues.apache.org/jira/browse/FELIX-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841234#action_12841234
 ] 

Charles Moulliard commented on FELIX-2169:
------------------------------------------

I have made a test with camel-cxf which contain a lot of dependencies and it 
works fine.

{code}
ka...@root> dev:show-tree  178
Bundle org.apache.camel.camel-cxf [178] is currently ACTIVE

org.apache.camel.camel-cxf [178]
+- org.apache.servicemix.bundles.wsdl4j [173]
+- org.apache.servicemix.specs.activation-api-1.1 [41]
+- org.springframework.beans [37]
|  +- org.ops4j.pax.logging.pax-logging-api [3]
|  +- org.springframework.core [36]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.apache.commons.collections [119]
|  +- org.apache.servicemix.bundles.cglib [47]
+- org.apache.camel.camel-spring-osgi [55]
|  +- org.springframework.beans [37]
|  +- org.springframework.osgi.core [49]
|  |  +- org.apache.felix.configadmin [5]
|  |  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.springframework.aop [38]
|  |  |  +- org.springframework.beans [37]
|  |  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  |  +- org.springframework.core [36]
|  |  |  +- org.apache.servicemix.bundles.commons-pool [69]
|  |  |  +- org.apache.servicemix.bundles.aopalliance [35]
|  |  |  +- org.apache.servicemix.bundles.cglib [47]
|  |  +- org.springframework.beans [37]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.springframework.core [36]
|  |  +- org.springframework.context [39]
|  |  |  +- org.apache.geronimo.specs.geronimo-annotation_1.0_spec [171]
|  |  |  +- org.springframework.aop [38]
|  |  |  +- org.springframework.beans [37]
|  |  |  +- org.apache.geronimo.specs.geronimo-jms_1.1_spec [70]
|  |  |  |  +- org.apache.geronimo.specs.geronimo-jta_1.1_spec [53]
|  |  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  |  +- org.springframework.core [36]
|  |  |  +- org.apache.servicemix.bundles.aopalliance [35]
|  |  |  +- org.apache.servicemix.bundles.cglib [47]
|  |  +- org.apache.servicemix.bundles.aopalliance [35]
|  |  +- org.springframework.osgi.io [48]
|  |     +- org.ops4j.pax.logging.pax-logging-api [3]
|  |     +- org.springframework.core [36]
|  +- org.ops4j.pax.logging.pax-logging-api [3]
|  +- org.apache.camel.camel-core [46]
|  |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  +- org.apache.servicemix.bundles.xalan [152]
|  |  |  +- org.apache.servicemix.bundles.xerces [153]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.apache.servicemix.specs.jaxb-api-2.1 [42]
|  |  |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  |  +- org.springframework.context [39]
|  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  |  +- commons-management [45]
|  +- org.springframework.core [36]
|  +- org.springframework.transaction [54]
|  |  +- org.springframework.aop [38]
|  |  +- org.springframework.beans [37]
|  |  +- org.apache.geronimo.specs.geronimo-jta_1.1_spec [53]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.springframework.core [36]
|  |  +- org.springframework.context [39]
|  |  +- org.apache.servicemix.bundles.aopalliance [35]
|  +- org.apache.servicemix.specs.jaxb-api-2.1 [42]
|  +- org.springframework.context [39]
+- org.springframework.core [36]
+- org.apache.cxf.bundle [176]
|  +- org.codehaus.jettison.jettison [149]
|  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  +- org.apache.servicemix.bundles.wsdl4j [173]
|  +- org.springframework.jms [144]
|  |  +- org.springframework.aop [38]
|  |  +- org.springframework.beans [37]
|  |  +- org.apache.geronimo.specs.geronimo-jms_1.1_spec [70]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.springframework.core [36]
|  |  +- org.apache.servicemix.bundles.commons-pool [69]
|  |  +- org.springframework.transaction [54]
|  |  +- org.springframework.context [39]
|  |  +- org.apache.servicemix.bundles.aopalliance [35]
|  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  +- org.springframework.aop [38]
|  +- org.springframework.beans [37]
|  +- org.apache.geronimo.specs.geronimo-jms_1.1_spec [70]
|  +- org.apache.servicemix.bundles.neethi [168]
|  |  +- org.apache.ws.commons.axiom.axiom-impl [165]
|  |  |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  |  |  +- org.apache.ws.commons.axiom.axiom-api [166]
|  |  |     +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  |     +- javax.mail [167]
|  |  |     |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  |     +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  |     +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  |  +- org.apache.ws.commons.axiom.axiom-api [166]
|  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  +- org.apache.ws.commons.schema.XmlSchema [159]
|  +- javax.mail [167]
|  +- org.ops4j.pax.logging.pax-logging-api [3]
|  +- org.apache.commons.lang [118]
|  +- org.apache.servicemix.specs.saaj-api-1.3 [172]
|  |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  +- org.apache.servicemix.bundles.xmlsec [155]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.apache.servicemix.bundles.xalan [152]
|  +- org.springframework.core [36]
|  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  +- org.apache.servicemix.specs.jsr311-api-1.0 [174]
|  +- org.springframework.context [39]
|  +- org.apache.servicemix.bundles.jaxb-impl [44]
|  |  +- org.apache.servicemix.specs.activation-api-1.1 [41]
|  |  +- org.apache.servicemix.specs.stax-api-1.0 [43]
|  |  +- org.apache.servicemix.specs.jaxb-api-2.1 [42]
|  +- org.apache.geronimo.specs.geronimo-annotation_1.0_spec [171]
|  +- org.apache.geronimo.specs.geronimo-jaxws_2.1_spec [170]
|  |  +- org.apache.servicemix.specs.saaj-api-1.3 [172]
|  |  +- org.apache.servicemix.specs.jaxb-api-2.1 [42]
|  +- org.apache.geronimo.specs.geronimo-jta_1.1_spec [53]
|  +- org.apache.servicemix.bundles.jetty-bundle [64]
|  |  +- org.ops4j.pax.logging.pax-logging-api [3]
|  |  +- org.apache.geronimo.specs.geronimo-servlet_2.5_spec [63]
|  +- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [175]
|  +- org.apache.geronimo.specs.geronimo-servlet_2.5_spec [63]
|  +- org.springframework.transaction [54]
|  +- org.apache.servicemix.specs.jaxb-api-2.1 [42]
|  +- org.apache.servicemix.bundles.cglib [47]
|  +- org.apache.servicemix.bundles.jdom [106]
+- org.apache.servicemix.specs.jsr311-api-1.0 [174]
+- org.springframework.context [39]
+- org.apache.servicemix.specs.stax-api-1.0 [43]
+- org.apache.geronimo.specs.geronimo-annotation_1.0_spec [171]
+- org.apache.geronimo.specs.geronimo-jaxws_2.1_spec [170]
+- org.ops4j.pax.logging.pax-logging-api [3]
+- org.apache.camel.camel-core [46]
+- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [175]
+- org.apache.servicemix.specs.saaj-api-1.3 [172]
+- org.apache.servicemix.specs.jaxb-api-2.1 [42]

WARNING: multiple bundles are exporting package META-INF.cxf
- org.apache.cxf.bundle [176]
- org.apache.camel.camel-cxf [178]
{code]

Can be closed

> Improve dev:show-tree performance and avoid NPE for installed bundle
> --------------------------------------------------------------------
>
>                 Key: FELIX-2169
>                 URL: https://issues.apache.org/jira/browse/FELIX-2169
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.4.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: karaf 1.6.0
>
>
> As reported in https://issues.apache.org/activemq/browse/SMX4-489, the 
> current implementation of the dev:show-tree command has two problems:
> * for bundles with an extensive set of dependencies, calculating the 
> dependency tree can take a long time (several seconds)
> * for installed bundles with imports for which no suitable export is 
> available, the command fails with a NullPointerException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to