[GLASSFISH-20622] NullPointerException is throwed by OutputBuffer.java Created: 11/Jun/13  Updated: 08/Jul/13

Status: Open
Project: glassfish
Component/s: web_container
Affects Version/s: v2.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: kyoLiu Assignee: Shing Wai Chan
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 10


Tags: NullPointerException, web-container

 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)



 Comments   
Comment by Shing Wai Chan [ 11/Jun/13 ]

Can you provide a test case for the above scenario?

Comment by Shing Wai Chan [ 25/Jun/13 ]

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?

Comment by Shing Wai Chan [ 08/Jul/13 ]

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.)

Generated at Sat Jan 21 15:17:02 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.