You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/02/19 09:51:59 UTC

[jira] Resolved: (SMX4KNL-204) OsgiConfiguration.unregister() throw NPE when exit smx

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

Freeman Fang resolved SMX4KNL-204.
----------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=745781&view=rev

> OsgiConfiguration.unregister() throw NPE when exit smx
> ------------------------------------------------------
>
>                 Key: SMX4KNL-204
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-204
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.1.0
>
>
> this is because OsgiConfiguration may be destroied before unregister the realam, so the OsgiConfiguration.close() get invoked first so realams list is null.
> we need add realams!=null check for the OsgiConfiguration.unregister() to avoid see the NPE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.