Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1621

ViewResponseWrapper does not wrapped the OutputStreams

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

        1. MyFaces-1621.patch
          3 kB
          Martin Haimberger

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: