abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-152) JSONFilter throws NPE when the response content-type is null
Date Thu, 24 Apr 2008 22:23:21 GMT
JSONFilter throws NPE when the response content-type is null

                 Key: ABDERA-152
                 URL: https://issues.apache.org/jira/browse/ABDERA-152
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 0.4.0
            Reporter: Christopher Elkins
            Priority: Minor

If the response content-type is null (e.g., when responding with "204 No Content" after DELETE
of an entry), JSONFilter throws a NullPointerException trying to determine whether to send

Apr 24, 2008 2:59:19 PM org.apache.abdera.protocol.server.servlet.AbderaServlet error
SEVERE: Error servicing request
	at org.apache.abdera.ext.json.JSONFilter.filter(JSONFilter.java:50)
	at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42)
	at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message