You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/04/08 09:31:36 UTC

[jira] Resolved: (FELIX-2260) Potential NullPointerException in ServicesServlet.writeJSON()

     [ https://issues.apache.org/jira/browse/FELIX-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2260.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 931811.

> 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.