glassfish
  1. glassfish
  2. GLASSFISH-20369

The I/O streams should be closed before resuming since they might not be available after resume in upgrade.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b85
    • Fix Version/s: 4.0_b86_RC2
    • Component/s: web_container
    • Labels:
      None

      Description

      The I/O streams should be closed before resuming since they might not be available after resume in upgrade. This can cause NPE when WebConnection#close is performed in ReadListener#onDataAvailable.

      Caused by: java.lang.NullPointerException
          at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:261)
          at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:186)
          at org.apache.catalina.connector.WebConnectionImpl.close(WebConnectionImpl.java:126)

        Activity

        Hide
        Amy Roh added a comment -

        What is the impact on the customer of the bug?

        Users will see the NPE and stacktrace.

        What is the cost/risk of fixing the bug?

        Low risk. I have ran web devtests and checked with web socket team to make sure there is no regression.

        Is there an impact on documentation or message strings?

        No.

        Which tests should QA (re)run to verify the fix did not destabilize GlassFish?

        web/web socket tests

        Which is the targeted build of 4.0 for this fix?

        4.0_b86_RC2

        If this an integration of a new version of a component from another project, what are the changes that are being brought in? This might be list of Jira issues from that project or a list of revision messages.

        na

        Show
        Amy Roh added a comment - What is the impact on the customer of the bug? Users will see the NPE and stacktrace. What is the cost/risk of fixing the bug? Low risk. I have ran web devtests and checked with web socket team to make sure there is no regression. Is there an impact on documentation or message strings? No. Which tests should QA (re)run to verify the fix did not destabilize GlassFish? web/web socket tests Which is the targeted build of 4.0 for this fix? 4.0_b86_RC2 If this an integration of a new version of a component from another project, what are the changes that are being brought in? This might be list of Jira issues from that project or a list of revision messages. na
        Hide
        Tom Mueller added a comment -

        Approved for 4.0.

        Show
        Tom Mueller added a comment - Approved for 4.0.
        Hide
        Amy Roh added a comment -

        Fixed in 61581.

        Show
        Amy Roh added a comment - Fixed in 61581.

          People

          • Assignee:
            Amy Roh
            Reporter:
            Amy Roh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: