felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2260) Potential NullPointerException in ServicesServlet.writeJSON()
Date Fri, 09 Apr 2010 09:53:50 GMT

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

Felix Meschberger updated FELIX-2260:
-------------------------------------

    Component/s: Web Console

> Potential NullPointerException in ServicesServlet.writeJSON()
> -------------------------------------------------------------
>
>                 Key: FELIX-2260
>                 URL: https://issues.apache.org/jira/browse/FELIX-2260
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    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.


Mime
View raw message