[
https://issues.apache.org/jira/browse/FELIX-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-2783:
------------------------------------
Affects Version/s: webconsole-upnp-plugin-1.0.0
Fix Version/s: webconsole-upnp-plugin-1.0.2
Assignee: Valentin Valchev
> UPnP Web Console plug-in expects that action arguments have a constructor
> with a string argument
> ------------------------------------------------------------------------------------------------
>
> Key: FELIX-2783
> URL: https://issues.apache.org/jira/browse/FELIX-2783
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-upnp-plugin-1.0.0
> Reporter: Evgeni Grigorov
> Assignee: Valentin Valchev
> Priority: Minor
> Fix For: webconsole-upnp-plugin-1.0.2
>
>
> That expectation works on types like Integer, Long, Boolean etc. but it is
> problematic in case of byte[]. For example, when try to call an action with
> bin.base64 parameter:
> {code|title ControlServlet.invoke(UPnPAction, String[], String[])}
> java.lang.NoSuchMethodException: [B.<init>(java.lang.String)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.getConstructor(Unknown Source)
> at
> org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.invoke(ControlServlet.java:347)
> at
> org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:157)
> 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)
> ...
> {code}
> The supported data types should be reviewed to be compatible with the OSGi
> UPnP specification.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira