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
            Reporter: Evgeni Grigorov
            Priority: Minor


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to