NPE in the specs when uninstalling bundle
-----------------------------------------

                 Key: SMX4-73
                 URL: https://issues.apache.org/activemq/browse/SMX4-73
             Project: ServiceMix 4
          Issue Type: Bug
            Reporter: Guillaume Nodet


ERROR: Error stopping bundle. (java.lang.NullPointerException)
java.lang.NullPointerException
        at 
org.apache.servicemix.specs.locator.Activator.unregister(Activator.java:96)
        at org.apache.servicemix.specs.locator.Activator.stop(Activator.java:50)
        at 
org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:613)
        at org.apache.felix.framework.Felix._stopBundle(Felix.java:1997)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:1954)
        at org.apache.felix.framework.Felix._uninstallBundle(Felix.java:2108)
        at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2078)
        at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:415)
        at 
org.apache.servicemix.gshell.features.internal.FeaturesServiceImpl.uninstallFeature(FeaturesServiceImpl.java:209)
        at 
org.apache.servicemix.gshell.features.internal.commands.UninstallFeatureCommand.doExecute(UninstallFeatureCommand.java:33)
        at 
org.apache.servicemix.gshell.features.internal.commands.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:40)
        at 
org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
        at 
org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
        at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
        at 
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at 
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at 
org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy7.execute(Unknown Source)
        at 
org.apache.geronimo.gshell.spring.SpringCommandRegistry$GroupCommand.execute(SpringCommandRegistry.java:243)
        at 
org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:288)
        at 
org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:163)
        at 
org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)

-- 
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