glassfish
  1. glassfish
  2. GLASSFISH-20622

NullPointerException is throwed by OutputBuffer.java

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: v2.1.1
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Solaris 10

      Description

      When a web application is running on glassfish, below exception is throwed unexpectedly.
      java.lang.NullPointerException
      at org.apache.coyote.tomcat5.OutputBuffer.addSessionCookieWithJvmRoute(OutputBuffer.java:689)
      at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:370)
      at org.apache.coyote.tomcat5.OutputBuffer.close(OutputBuffer.java:336)
      at org.apache.coyote.tomcat5.CoyoteResponse.finishResponse(CoyoteResponse.java:594)
      at org.apache.coyote.tomcat5.CoyoteAdapter.afterService(CoyoteAdapter.java:354)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.postResponse(DefaultProcessorTask.java:625)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:612)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:889)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:267)
      at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:118)

        Activity

        Hide
        Shing Wai Chan added a comment -

        Do we still have the issue in GlassFish v3 or GlassFish v4?
        If yes, please provide a test case to illustrate the issue.

        If you have question on GlassFish, please send email to users@glassfish.java.net
        (There are many other experts subscribing the alias.)

        Show
        Shing Wai Chan added a comment - Do we still have the issue in GlassFish v3 or GlassFish v4? If yes, please provide a test case to illustrate the issue. If you have question on GlassFish, please send email to users@glassfish.java.net (There are many other experts subscribing the alias.)
        Hide
        Shing Wai Chan added a comment -

        I have compared the codes in v3 and v4. There are a lot changes there. Can you download an updated version of GlassFish to see whether the issue is already resolved?

        Show
        Shing Wai Chan added a comment - I have compared the codes in v3 and v4. There are a lot changes there. Can you download an updated version of GlassFish to see whether the issue is already resolved?
        Hide
        Shing Wai Chan added a comment -

        Can you provide a test case for the above scenario?

        Show
        Shing Wai Chan added a comment - Can you provide a test case for the above scenario?

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            kyoLiu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: