Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
webconsole-upnp-plugin-1.0.0
-
None
Description
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)
...
The supported data types should be reviewed to be compatible with the OSGi UPnP specification.