You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gary Kind (JIRA)" <de...@myfaces.apache.org> on 2009/11/10 02:43:32 UTC
[jira] Created: (TRINIDAD-1629) ResourceServlet.java._setHeaders()
can call response.setContentType() with a null contentType resulting in an
NPE on Websphere.
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
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.
[jira] Commented: (TRINIDAD-1629)
ResourceServlet.java._setHeaders() can call response.setContentType() with
a null contentType resulting in an NPE on Websphere.
Posted by "Maria Kaval (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Resolved: (TRINIDAD-1629) ResourceServlet.java._setHeaders()
can call response.setContentType() with a null contentType resulting in an
NPE on Websphere.
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved TRINIDAD-1629.
------------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.13-core
Assignee: Matthias Weßendorf
> 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.