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

[jira] [Created] (FELIX-3669) NPE in ControlServlet.deviceToJSON

Evgeni Grigorov created FELIX-3669:
--------------------------------------

             Summary: NPE in ControlServlet.deviceToJSON
                 Key: FELIX-3669
                 URL: https://issues.apache.org/jira/browse/FELIX-3669
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-upnp-plugin-1.0.2
            Reporter: Evgeni Grigorov
            Priority: Minor


I got that exception with a click on "Search for UPnP Devices" after WebConsole UPnP plug-in bundle restart. The stack trace is:
java.lang.NullPointerException
	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceToJSON(ControlServlet.java:275)
	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:241)
	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:147)
	at org.apache.felix.webconsole.plugins.upnp.internal.WebConsolePlugin.doPost(WebConsolePlugin.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (FELIX-3669) NPE in ControlServlet.deviceToJSON

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

Valentin Valchev resolved FELIX-3669.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-upnp-plugin-1.0.4
         Assignee: Valentin Valchev

Fixed in rev.1391982
                
> NPE in ControlServlet.deviceToJSON
> ----------------------------------
>
>                 Key: FELIX-3669
>                 URL: https://issues.apache.org/jira/browse/FELIX-3669
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-upnp-plugin-1.0.2
>            Reporter: Evgeni Grigorov
>            Assignee: Valentin Valchev
>            Priority: Minor
>             Fix For: webconsole-upnp-plugin-1.0.4
>
>         Attachments: NPE_in_ControlServlet.deviceToJSON
>
>
> I got that exception with a click on "Search for UPnP Devices" after WebConsole UPnP plug-in bundle restart. The stack trace is:
> java.lang.NullPointerException
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceToJSON(ControlServlet.java:275)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:241)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:147)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.WebConsolePlugin.doPost(WebConsolePlugin.java:102)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3669) NPE in ControlServlet.deviceToJSON

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

Evgeni Grigorov updated FELIX-3669:
-----------------------------------

    Attachment: NPE_in_ControlServlet.deviceToJSON

Initial proposal for the fix.
                
> NPE in ControlServlet.deviceToJSON
> ----------------------------------
>
>                 Key: FELIX-3669
>                 URL: https://issues.apache.org/jira/browse/FELIX-3669
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-upnp-plugin-1.0.2
>            Reporter: Evgeni Grigorov
>            Priority: Minor
>         Attachments: NPE_in_ControlServlet.deviceToJSON
>
>
> I got that exception with a click on "Search for UPnP Devices" after WebConsole UPnP plug-in bundle restart. The stack trace is:
> java.lang.NullPointerException
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceToJSON(ControlServlet.java:275)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:241)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:147)
> 	at org.apache.felix.webconsole.plugins.upnp.internal.WebConsolePlugin.doPost(WebConsolePlugin.java:102)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira