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 2011/01/17 14:33:43 UTC

[jira] Created: (FELIX-2783) UPnP Web Console plug-in expects that action arguments have a constructor with a string argument

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.


[jira] [Updated] (FELIX-2783) UPnP Web Console plug-in expects that action arguments have a constructor with a string argument

Posted by "Valentin Valchev (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Resolved] (FELIX-2783) UPnP Web Console plug-in expects that action arguments have a constructor with a string argument

Posted by "Valentin Valchev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Valchev resolved FELIX-2783.
-------------------------------------

    Resolution: Fixed

Fixed in rev.1166146

> 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