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

NPE in Events web console plugin - no events can be seen

    XMLWordPrintableJSON

    Details

      Description

      The following exception is seen when clicking on the Web Console Events plugin.

      java.lang.NullPointerException
      	at org.apache.felix.webconsole.plugins.event.internal.PluginServlet.eventJson(PluginServlet.java:373)
      	at org.apache.felix.webconsole.plugins.event.internal.PluginServlet.renderJSON(PluginServlet.java:184)
      	at org.apache.felix.webconsole.plugins.event.internal.PluginServlet.doGet(PluginServlet.java:208)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.apache.felix.webconsole.internal.WebConsolePluginAdapter.renderContent(WebConsolePluginAdapter.java:123)
      	at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:170)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.apache.felix.webconsole.internal.WebConsolePluginAdapter.service(WebConsolePluginAdapter.java:211)
      	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
      	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)
      
      

      I think the exception is caused due to an event, containing a property with value which is of type Array and one of the elements of the array is null.

        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: