add null check to avoid NPE when shutdown SA
--------------------------------------------

                 Key: SMX4NMR-157
                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-157
             Project: ServiceMix NMR
          Issue Type: Bug
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 1.1.0


to avoid the exception like
java.lang.NullPointerException
        at 
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.stop(ServiceAssemblyInstaller.java:123)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStopping(Deployer.java:373)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:287)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.destroy(Deployer.java:270)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

when shutdown SA

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