You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/04/18 16:08:06 UTC

[jira] [Reopened] (FELIX-2901) [Framework] NPE from a host bundle during framework shutdown

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

Richard S. Hall reopened FELIX-2901:
------------------------------------


> [Framework] NPE from a host bundle during framework shutdown
> ------------------------------------------------------------
>
>                 Key: FELIX-2901
>                 URL: https://issues.apache.org/jira/browse/FELIX-2901
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.2.1
>
>
> When shutting down the framework, if a fragment is released before its host bundle, an NPE results because the host is trying to remove itself from the fragment's wires, but the fragment no longer has any wires. This is likely an issue any time when a fragment is refreshed before the host. I think we just need a null check here. In 3.0.x this wasn't an issue because we didn't use wires in the fragment to keep track of host dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira