Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-3.0.0
-
None
Description
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.