You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/12/24 06:32:00 UTC
[jira] [Resolved] (KARAF-4914) NPE when stopping cave bundle
[ https://issues.apache.org/jira/browse/KARAF-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-4914.
-----------------------------------------
Resolution: Fixed
Fixed the order in the activator stop.
> NPE when stopping cave bundle
> -----------------------------
>
> Key: KARAF-4914
> URL: https://issues.apache.org/jira/browse/KARAF-4914
> Project: Karaf
> Issue Type: Bug
> Affects Versions: cave-4.0.0
> Reporter: Guillaume Nodet
> Assignee: Jean-Baptiste Onofré
> Fix For: cave-4.1.0
>
>
> {code}
> org.osgi.framework.BundleException: Activator stop error in bundle org.apache.karaf.cave.server.rest [58].
> at org.apache.felix.framework.Felix.stopBundle(Felix.java:2666) ~[?:?]
> at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:1038) ~[?:?]
> at org.apache.karaf.features.internal.service.FeaturesServiceImpl.stopBundle(FeaturesServiceImpl.java:1287) ~[?:?]
> at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:642) ~[?:?]
> at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170) ~[?:?]
> at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069) ~[?:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
> at java.lang.Thread.run(Thread.java:745) [?:?]
> Caused by: java.lang.NullPointerException
> at org.apache.cxf.transport.servlet.CXFNonSpringServlet.destroy(CXFNonSpringServlet.java:184) ~[?:?]
> at org.apache.karaf.cave.server.rest.Activator.doStop(Activator.java:73) ~[?:?]
> at org.apache.karaf.util.tracker.BaseActivator.stop(BaseActivator.java:90) ~[?:?]
> at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:719) ~[?:?]
> at org.apache.felix.framework.Felix.stopBundle(Felix.java:2610) ~[?:?]
> ... 9 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)