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 2007/08/22 07:52:30 UTC

[jira] Created: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

NullPointerException after updating a ManagedService when no Configuration exists
---------------------------------------------------------------------------------

                 Key: FELIX-342
                 URL: https://issues.apache.org/jira/browse/FELIX-342
             Project: Felix
          Issue Type: Bug
          Components: Configuration Admin
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: 1.0.0


Tom Remoleur reported the following issue:

In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
is null (by exemple first registration of a ManagedService), at the end,  
you fire a configuration event but the  
ConfigurationManager$FireConfigurationEvent task try to accede to  
configuration to get the pid (line 1261) => NPE

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


[jira] Resolved: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-342.
-------------------------------------

    Resolution: Fixed

And deployed new bundle.

So I mark this resolved.

> NullPointerException after updating a ManagedService when no Configuration exists
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-342
>                 URL: https://issues.apache.org/jira/browse/FELIX-342
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Tom Remoleur reported the following issue:
> In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
> is null (by exemple first registration of a ManagedService), at the end,  
> you fire a configuration event but the  
> ConfigurationManager$FireConfigurationEvent task try to accede to  
> configuration to get the pid (line 1261) => NPE

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


[jira] Commented: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521771 ] 

Felix Meschberger commented on FELIX-342:
-----------------------------------------

Refactored how events are fired: Now the PID and Factory PID for the Event are given as parameters and not as ConfigurationImpl object which in fact may be null in case of a non-existing configuration for a newly registered ManagedService.

Fixed in Rev. 568514.

> NullPointerException after updating a ManagedService when no Configuration exists
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-342
>                 URL: https://issues.apache.org/jira/browse/FELIX-342
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Tom Remoleur reported the following issue:
> In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
> is null (by exemple first registration of a ManagedService), at the end,  
> you fire a configuration event but the  
> ConfigurationManager$FireConfigurationEvent task try to accede to  
> configuration to get the pid (line 1261) => NPE

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


[jira] Work stopped: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-342 stopped by Felix Meschberger.

> NullPointerException after updating a ManagedService when no Configuration exists
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-342
>                 URL: https://issues.apache.org/jira/browse/FELIX-342
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Tom Remoleur reported the following issue:
> In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
> is null (by exemple first registration of a ManagedService), at the end,  
> you fire a configuration event but the  
> ConfigurationManager$FireConfigurationEvent task try to accede to  
> configuration to get the pid (line 1261) => NPE

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


[jira] Closed: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-342.
-----------------------------------


Tom confirmed the fix to be good. Hence closing this issue.

> NullPointerException after updating a ManagedService when no Configuration exists
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-342
>                 URL: https://issues.apache.org/jira/browse/FELIX-342
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Tom Remoleur reported the following issue:
> In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
> is null (by exemple first registration of a ManagedService), at the end,  
> you fire a configuration event but the  
> ConfigurationManager$FireConfigurationEvent task try to accede to  
> configuration to get the pid (line 1261) => NPE

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


[jira] Work started: (FELIX-342) NullPointerException after updating a ManagedService when no Configuration exists

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-342 started by Felix Meschberger.

> NullPointerException after updating a ManagedService when no Configuration exists
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-342
>                 URL: https://issues.apache.org/jira/browse/FELIX-342
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 1.0.0
>
>
> Tom Remoleur reported the following issue:
> In ConfigurationManager$ManagedServiceUpdate task : if the configuration  
> is null (by exemple first registration of a ManagedService), at the end,  
> you fire a configuration event but the  
> ConfigurationManager$FireConfigurationEvent task try to accede to  
> configuration to get the pid (line 1261) => NPE

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