Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2260

Potential NullPointerException in ServicesServlet.writeJSON()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-3.0.0
    • webconsole-3.1.0
    • Web Console
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: