You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/02/18 14:13:38 UTC

[jira] Resolved: (FELIX-2847) NPE in ConfigurationManager.java:1003 (static String toString( ServiceReference ref ))

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

Felix Meschberger resolved FELIX-2847.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: configadmin-1.2.10

Fixed in Rev. 1071990.

> NPE in ConfigurationManager.java:1003 (static String toString( ServiceReference ref ))
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-2847
>                 URL: https://issues.apache.org/jira/browse/FELIX-2847
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions:  configadmin-1.2.8
>         Environment: window ; cygwin
>            Reporter: Stephane Chomat
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.2.10
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When the config admin thread try to log an error (in handleCallBackError), a NPE is raised. May ref.getBundle() is null ?
> java.lang.NullPointerException
>         at org.apache.felix.cm.impl.ConfigurationManager.toString(ConfigurationManager.java:1003)[3:org.apache.felix.configadmin:1.2.8]
>         at org.apache.felix.cm.impl.ConfigurationManager.handleCallBackError(ConfigurationManager.java:1028)[3:org.apache.felix.configadmin:1.2.8]
>         at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1164)[3:org.apache.felix.configadmin:1.2.8]
>         at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[3:org.apache.felix.configadmin:1.2.8]
>         at java.lang.Thread.run(Thread.java:662)[:1.6.0_23]

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