You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2012/07/12 16:28:34 UTC

[jira] [Resolved] (FELIX-3595) NPE in ControlServlet.addingService

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

Valentin Valchev resolved FELIX-3595.
-------------------------------------

    Resolution: Fixed

fixed in rev.1360693
                
> NPE in ControlServlet.addingService
> -----------------------------------
>
>                 Key: FELIX-3595
>                 URL: https://issues.apache.org/jira/browse/FELIX-3595
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-upnp-plugin-1.0.2
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>            Priority: Minor
>             Fix For: webconsole-upnp-plugin-1.0.4
>
>
> There is a NPE in the UPnP plugin:
> {code}
> java.lang.NullPointerException
>         at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.addingService(ControlServlet.java:533)
>         at org.apache.felix.webconsole.plugins.upnp.internal.Activator.addingService(Activator.java:88)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:909)
> {/code}
> The problems can occur when the plugin is starting. The service tracker collects already registered UPnP devices, and then notifies the customizer.
> If UPnP device is removed, while the tracker is notifying the customizer it is possible to get a 'null' service, for the reference, we are being notified.

--
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