[jira] [Commented] (KARAF-7676) NullPointerException at Startup
[ https://issues.apache.org/jira/browse/KARAF-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17697827#comment-17697827 ] Francois Papon commented on KARAF-7676: --- Good point for the documentation > NullPointerException at Startup > --- > > Key: KARAF-7676 > URL: https://issues.apache.org/jira/browse/KARAF-7676 > Project: Karaf > Issue Type: Bug > Components: karaf >Affects Versions: 4.3.7, 4.4.3 >Reporter: Terrien Jean-Yves >Priority: Major > > I use a custom distribution > defined as: > {code:java} > > eventadmin > enterprise > standard > > > http > shell > jdbc > pax-jdbc > pax-jdbc-config > pax-jdbc-oracle > pax-jdbc-pool-dbcp2 > pax-jms-config > pax-jms-activemq > > > false > true > 11{code} > and I have several exceptions at startup: > {code:java} > 2023-03-07T17:33:35,242 | ERROR | activator-1-thread-2 | > FeatureDeploymentListener | 35 - org.apache.karaf.deployer.features - > 4.4.3 | Unable to update deployed features for bundle: > org.apache.karaf.features.extension - 4.4.3 > java.lang.NullPointerException: null > at > org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:254) > ~[?:?] > {code} > How to solve this problem ? > Thank -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7676) NullPointerException at Startup
[ https://issues.apache.org/jira/browse/KARAF-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17697826#comment-17697826 ] Terrien Jean-Yves commented on KARAF-7676: -- Hi, Thank you for that answer. Inspired by your proposal, I moved standard and enterprise features into BootFeatures And it seems that solves the problem. {code:java} eventadmin standard entreprise {code} I wonder if a little note in the custom-distribution documentation should not warn of this situation. Visibly, puting the "standard" feature in StartupFeatures installs bundles that can no longer be updated. A+JYT > NullPointerException at Startup > --- > > Key: KARAF-7676 > URL: https://issues.apache.org/jira/browse/KARAF-7676 > Project: Karaf > Issue Type: Bug > Components: karaf >Affects Versions: 4.3.7, 4.4.3 >Reporter: Terrien Jean-Yves >Priority: Major > > I use a custom distribution > defined as: > {code:java} > > eventadmin > enterprise > standard > > > http > shell > jdbc > pax-jdbc > pax-jdbc-config > pax-jdbc-oracle > pax-jdbc-pool-dbcp2 > pax-jms-config > pax-jms-activemq > > > false > true > 11{code} > and I have several exceptions at startup: > {code:java} > 2023-03-07T17:33:35,242 | ERROR | activator-1-thread-2 | > FeatureDeploymentListener | 35 - org.apache.karaf.deployer.features - > 4.4.3 | Unable to update deployed features for bundle: > org.apache.karaf.features.extension - 4.4.3 > java.lang.NullPointerException: null > at > org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:254) > ~[?:?] > {code} > How to solve this problem ? > Thank -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7676) NullPointerException at Startup
[ https://issues.apache.org/jira/browse/KARAF-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17697739#comment-17697739 ] Francois Papon commented on KARAF-7676: --- I think you are missing some features in your installation, here an example: {code:java} wrap bundle config system feature package log ssh instance shell management service jaas deployer diagnostic scr aries-blueprint shell-compat eventadmin {code} > NullPointerException at Startup > --- > > Key: KARAF-7676 > URL: https://issues.apache.org/jira/browse/KARAF-7676 > Project: Karaf > Issue Type: Bug > Components: karaf >Affects Versions: 4.3.7, 4.4.3 >Reporter: Terrien Jean-Yves >Priority: Major > > I use a custom distribution > defined as: > {code:java} > > eventadmin > enterprise > standard > > > http > shell > jdbc > pax-jdbc > pax-jdbc-config > pax-jdbc-oracle > pax-jdbc-pool-dbcp2 > pax-jms-config > pax-jms-activemq > > > false > true > 11{code} > and I have several exceptions at startup: > {code:java} > 2023-03-07T17:33:35,242 | ERROR | activator-1-thread-2 | > FeatureDeploymentListener | 35 - org.apache.karaf.deployer.features - > 4.4.3 | Unable to update deployed features for bundle: > org.apache.karaf.features.extension - 4.4.3 > java.lang.NullPointerException: null > at > org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:254) > ~[?:?] > {code} > How to solve this problem ? > Thank -- This message was sent by Atlassian Jira (v8.20.10#820010)