Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5026

Web Console Event plugin exception when sending event with property of type hex/base64

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: webconsole-event-plugin-1.1.2
    • Fix Version/s: None
    • Component/s: Web Console
    • Labels:
      None

      Description

      base64/hex/sha1 types are basically unsupported by the java code, but the UI renders them as supported types:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              v_valchev Valentin Valchev
              Reporter:
              v_valchev Valentin Valchev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: