[ 
https://issues.apache.org/jira/browse/FELIX-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler reassigned FELIX-694:
--------------------------------------

    Assignee: Carsten Ziegeler

> NullPointerException on shutdown
> --------------------------------
>
>                 Key: FELIX-694
>                 URL: https://issues.apache.org/jira/browse/FELIX-694
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: scr-1.0.6
>
>
> On shutdown a NPE occurs when trying to invoke the unbind method (as 
> serviceReference.getBundle() returns null):
> java.lang.NullPointerException
>       at 
> org.apache.felix.scr.impl.DependencyManager.getBindingMethod(DependencyManager.java:735)
>       at 
> org.apache.felix.scr.impl.DependencyManager.invokeUnbindMethod(DependencyManager.java:932)
>       at 
> org.apache.felix.scr.impl.DependencyManager.unbind(DependencyManager.java:691)
>       at 
> org.apache.felix.scr.impl.ImmediateComponentManager.disposeImplementationObject(ImmediateComponentManager.java:296)
>       at 
> org.apache.felix.scr.impl.ImmediateComponentManager.deleteComponent(ImmediateComponentManager.java:150)
>       at 
> org.apache.felix.scr.impl.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:554)
>       at 
> org.apache.felix.scr.impl.AbstractComponentManager.deactivate(AbstractComponentManager.java:238)
>       at 
> org.apache.felix.scr.impl.DependencyManager.serviceRemoved(DependencyManager.java:242)
>       at 
> org.apache.felix.scr.impl.DependencyManager.serviceChanged(DependencyManager.java:124)

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