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:30:07 UTC
[jira] [Updated] (FELIX-3669) NPE in ControlServlet.deviceToJSON
[ 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