felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-2847) NPE in ConfigurationManager.java:1003 (static String toString( ServiceReference ref ))
Date Thu, 20 Oct 2011 19:12:11 GMT

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

Felix Meschberger updated FELIX-2847:
-------------------------------------

    Fix Version/s:     (was: configadmin-1.2.10)
                   configadmin-1.4.0
    
> 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.4.0
>
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message