You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2010/03/04 13:17:27 UTC
[jira] Created: (FELIX-2169) Improve dev:show-tree performance and
avoid NPE for installed bundle
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.2.0
Reporter: Gert Vanthienen
Assignee: Gert Vanthienen
Fix For: karaf-1.4.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.
[jira] Closed: (FELIX-2169) Improve dev:show-tree performance and
avoid NPE for installed bundle
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen closed FELIX-2169.
----------------------------------
@Charles: Thanks for the feedback!
> 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.
[jira] Resolved: (FELIX-2169) Improve dev:show-tree performance and
avoid NPE for installed bundle
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen resolved FELIX-2169.
------------------------------------
Resolution: Fixed
Fixed in http://svn.apache.org/viewvc?view=revision&revision=918963
Will ask Charles Mouillard to confirm that this fixes the issue he has reported.
> 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.
[jira] Updated: (FELIX-2169) Improve dev:show-tree performance and
avoid NPE for installed bundle
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen updated FELIX-2169:
-----------------------------------
Affects Version/s: (was: karaf-1.2.0)
karaf-1.4.0
Fix Version/s: (was: karaf-1.4.0)
karaf 1.6.0
> 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.
[jira] Commented: (FELIX-2169) Improve dev:show-tree performance
and avoid NPE for installed bundle
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841223#action_12841223 ]
Charles Moulliard commented on FELIX-2169:
------------------------------------------
I rebuild karaf and make a test.
> 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.
[jira] Commented: (FELIX-2169) Improve dev:show-tree performance
and avoid NPE for installed bundle
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ 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}
karaf@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.