You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Haimberger (JIRA)" <de...@myfaces.apache.org> on 2007/05/03 14:31:15 UTC

[jira] Created: (MYFACES-1621) ViewResponseWrapper does not wrapped the OutputStreams

ViewResponseWrapper does not wrapped the OutputStreams
------------------------------------------------------

                 Key: MYFACES-1621
                 URL: https://issues.apache.org/jira/browse/MYFACES-1621
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-252
    Affects Versions: 1.2.0-SNAPSHOT
            Reporter: Martin Haimberger
         Assigned To: Martin Haimberger
             Fix For: 1.2.0-SNAPSHOT


If the wrapped Response is used and getOutputStream() is called, a null pointer exception or an illegalState Exception is thrown. Thats because of the ViewResponseWrapper does not care about OutputStreams and expects that every wrapped Response uses the Writer.

Regards,
Martin Haimberger

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


[jira] Updated: (MYFACES-1621) ViewResponseWrapper does not wrapped the OutputStreams

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated MYFACES-1621:
----------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

thx to Martin Haimberger for fixing this.

> ViewResponseWrapper does not wrapped the OutputStreams
> ------------------------------------------------------
>
>                 Key: MYFACES-1621
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1621
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.0-SNAPSHOT
>            Reporter: Martin Haimberger
>         Assigned To: Martin Haimberger
>             Fix For: 1.2.0-SNAPSHOT
>
>         Attachments: MyFaces-1621.patch
>
>
> If the wrapped Response is used and getOutputStream() is called, a null pointer exception or an illegalState Exception is thrown. Thats because of the ViewResponseWrapper does not care about OutputStreams and expects that every wrapped Response uses the Writer.
> Regards,
> Martin Haimberger

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


[jira] Updated: (MYFACES-1621) ViewResponseWrapper does not wrapped the OutputStreams

Posted by "Martin Haimberger (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Haimberger updated MYFACES-1621:
---------------------------------------

    Status: Patch Available  (was: Open)

> ViewResponseWrapper does not wrapped the OutputStreams
> ------------------------------------------------------
>
>                 Key: MYFACES-1621
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1621
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.0-SNAPSHOT
>            Reporter: Martin Haimberger
>         Assigned To: Martin Haimberger
>             Fix For: 1.2.0-SNAPSHOT
>
>         Attachments: MyFaces-1621.patch
>
>
> If the wrapped Response is used and getOutputStream() is called, a null pointer exception or an illegalState Exception is thrown. Thats because of the ViewResponseWrapper does not care about OutputStreams and expects that every wrapped Response uses the Writer.
> Regards,
> Martin Haimberger

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