Valentin Valchev created FELIX-5025:
---------------------------------------

             Summary: NPE in Events web console plugin - no events can be seen
                 Key: FELIX-5025
                 URL: https://issues.apache.org/jira/browse/FELIX-5025
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-event-plugin-1.1.2
            Reporter: Valentin Valchev
            Assignee: Valentin Valchev


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

{code}
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)

{code}

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.



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

Reply via email to