You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2015/09/03 15:11:46 UTC

[jira] [Resolved] (FELIX-5025) NPE in Events web console plugin - no events can be seen

     [ https://issues.apache.org/jira/browse/FELIX-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Valchev resolved FELIX-5025.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: webconsole-event-plugin-1.1.4

> 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
>             Fix For: webconsole-event-plugin-1.1.4
>
>
> 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)