MyFaces Core
  1. MyFaces Core
  2. MYFACES-1621

ViewResponseWrapper does not wrapped the OutputStreams

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: JSR-252
    • Labels:
      None

      Description

      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

      1. MyFaces-1621.patch
        3 kB
        Martin Haimberger

        Activity

        Matthias Weßendorf made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Matthias Weßendorf made changes -
        Fix Version/s  1.2.0 [ 12312576 ]
        Affects Version/s 1.2.0-SNAPSHOT [ 12311938 ]
        Affects Version/s  1.2.0 [ 12312576 ]
        Fix Version/s 1.2.0-SNAPSHOT [ 12311938 ]
        Matthias Weßendorf made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hide
        Matthias Weßendorf added a comment -

        thx to Martin Haimberger for fixing this.

        Show
        Matthias Weßendorf added a comment - thx to Martin Haimberger for fixing this.
        Martin Haimberger made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Martin Haimberger made changes -
        Field Original Value New Value
        Attachment MyFaces-1621.patch [ 12356708 ]
        Martin Haimberger created issue -

          People

          • Assignee:
            Martin Haimberger
            Reporter:
            Martin Haimberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development