Potential NullPointerException in ServicesServlet.writeJSON()
-------------------------------------------------------------
Key: FELIX-2260
URL: https://issues.apache.org/jira/browse/FELIX-2260
Project: Felix
Issue Type: Bug
Affects Versions: webconsole-3.0.0
Reporter: Felix Meschberger
Fix For: webconsole-3.0.2
The ServicesServlet.writeJSON() method calls the ServicesServlet.getServices()
method and does not expect this method to return null. Yet, if no services are
registered (which is highly unlikely) null might be returned. The writeJSON()
and getStatusLine() methods should be secured against this potential
NullPointerException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.