Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
webconsole-event-plugin-1.1.0
-
None
Description
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:
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)