Valentin Valchev created FELIX-5026:
---------------------------------------

             Summary: Web Console Event plugin exception when sending event 
with property of type hex/base64
                 Key: FELIX-5026
                 URL: https://issues.apache.org/jira/browse/FELIX-5026
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-event-plugin-1.1.2
            Reporter: Valentin Valchev
            Assignee: Valentin Valchev


base64/hex/sha1 types are basically unsupported by the java code, but the UI 
renders them as supported types:
{code}
java.lang.IllegalArgumentException: Unsupported type!
        at 
org.apache.felix.webconsole.plugins.event.internal.PropertiesEditorSupport.convert(PropertiesEditorSupport.java:90)
        at 
org.apache.felix.webconsole.plugins.event.internal.PropertiesEditorSupport.convertProperties(PropertiesEditorSupport.java:51)
        at 
org.apache.felix.webconsole.plugins.event.internal.PluginServlet.newEvent(PluginServlet.java:109)
        at 
org.apache.felix.webconsole.plugins.event.internal.PluginServlet.doPost(PluginServlet.java:121)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.apache.felix.webconsole.internal.WebConsolePluginAdapter.service(WebConsolePluginAdapter.java:216)
        at 
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:567)
        at 
org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)
        at 
com.prosyst.mbs.impl.services.http.ServletProperties.service(ServletProperties.java:109)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to