[
https://issues.apache.org/jira/browse/FELIX-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-4573:
------------------------------------
Summary: Web Console Event plugin might cease operation if Event property
is null (was: Web Console Event plugin might ceise operation if Event property
is null)
> Web Console Event plugin might cease operation if Event property is null
> ------------------------------------------------------------------------
>
> Key: FELIX-4573
> URL: https://issues.apache.org/jira/browse/FELIX-4573
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-event-plugin-1.1.0
> Reporter: Valentin Valchev
> Priority: Critical
> Fix For: webconsole-event-plugin-1.1.2
>
>
> With OSGi r4.2 the Event class can be created not only with Dictionary but
> also with a Map.
> Map allows the users to post dictionary where some values are null. In that
> case the event plugin will fail with the following exception and stop
> processing other events:
> {code}
> java.lang.NullPointerException
> at
> org.apache.felix.webconsole.plugins.event.internal.PluginServlet.eventJson(PluginServlet.java:359)
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)