[
https://issues.apache.org/jira/browse/TRINIDAD-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782654#action_12782654
]
Maria Kaval commented on TRINIDAD-1629:
---------------------------------------
This patch also needs to be applies to Trinidad branch 1.2.12.2
> ResourceServlet.java._setHeaders() can call response.setContentType() with a
> null contentType resulting in an NPE on Websphere.
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1629
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1629
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.12-core
> Reporter: Gary Kind
> Assignee: Matthias Weßendorf
> Fix For: 1.2.13-core
>
> Attachments: ResourceServlet2.diff
>
>
> If a Server, in this case Websphere, tries to load a resource with an unknown
> file extension, e.g. <file>.cur where ".cur" is the extension,
> ResourceServlet._setHeaders() will call response.setContentType() with a null
> contentType. This results an NPE showing up in the Websphere systemOut.log
> file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.