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 (Created) (JIRA)" <ji...@apache.org> on 2012/04/04 09:03:19 UTC
[jira] [Created] (FELIX-3428) NPE in UPnP Web Console Plugin
(again)
NPE in UPnP Web Console Plugin (again)
--------------------------------------
Key: FELIX-3428
URL: https://issues.apache.org/jira/browse/FELIX-3428
Project: Felix
Issue Type: Bug
Components: Web Console
Affects Versions: webconsole-upnp-plugin-1.0.0
Reporter: Valentin Valchev
Assignee: Valentin Valchev
Priority: Blocker
Fix For: webconsole-upnp-plugin-1.0.2
Attachments: my.bundles.upnp.osgi.printer_1.0.0.201203131224_bad.jar
If there is invalid UPnP device, that has no registration properties, the UPnP Plugin will throw:
upnp>$java.lang.NullPointerException
at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:236)
at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:140)
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)
Besides that, the valid devices will not be rendered in the web console too. So iyou need to have ONE bad UPnP device, to break everything.
--
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
[jira] [Updated] (FELIX-3428) NPE in UPnP Web Console Plugin
(again)
Posted by "Valentin Valchev (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Valchev updated FELIX-3428:
------------------------------------
Attachment: my.bundles.upnp.osgi.printer_1.0.0.201203131224_bad.jar
test case for the problem
> NPE in UPnP Web Console Plugin (again)
> --------------------------------------
>
> Key: FELIX-3428
> URL: https://issues.apache.org/jira/browse/FELIX-3428
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-upnp-plugin-1.0.0
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Priority: Blocker
> Fix For: webconsole-upnp-plugin-1.0.2
>
> Attachments: my.bundles.upnp.osgi.printer_1.0.0.201203131224_bad.jar
>
>
> If there is invalid UPnP device, that has no registration properties, the UPnP Plugin will throw:
> upnp>$java.lang.NullPointerException
> at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:236)
> at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:140)
> 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)
> Besides that, the valid devices will not be rendered in the web console too. So iyou need to have ONE bad UPnP device, to break everything.
--
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
[jira] [Resolved] (FELIX-3428) NPE in UPnP Web Console Plugin
(again)
Posted by "Valentin Valchev (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Valchev resolved FELIX-3428.
-------------------------------------
Resolution: Fixed
fixed in rev.1309270
> NPE in UPnP Web Console Plugin (again)
> --------------------------------------
>
> Key: FELIX-3428
> URL: https://issues.apache.org/jira/browse/FELIX-3428
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-upnp-plugin-1.0.0
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Priority: Blocker
> Fix For: webconsole-upnp-plugin-1.0.2
>
> Attachments: my.bundles.upnp.osgi.printer_1.0.0.201203131224_bad.jar
>
>
> If there is invalid UPnP device, that has no registration properties, the UPnP Plugin will throw:
> upnp>$java.lang.NullPointerException
> at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:236)
> at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:140)
> 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)
> Besides that, the valid devices will not be rendered in the web console too. So iyou need to have ONE bad UPnP device, to break everything.
--
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