Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
-
Environment:Tomcat 6, TomcatPushServlet
Description
The following exception is thrown occasionally:
java.lang.IllegalStateException: The event object has been recycled and is no longer associated with a request
at org.apache.catalina.connector.CometEventImpl.close(CometEventImpl.java:93)
at com.icesoft.faces.webapp.http.servlet.EventResponder.run(TomcatPushServlet.java:143)
at com.icesoft.faces.webapp.http.core.ViewQueue.put(ViewQueue.java:16)
at com.icesoft.faces.webapp.http.servlet.ServletView$1.run(ServletView.java:54)
at com.icesoft.faces.webapp.http.servlet.ServletView.broadcastTo(ServletView.java:131)
at com.icesoft.faces.webapp.http.servlet.ServletView.put(ServletView.java:106)
at com.icesoft.faces.context.PushModeSerializer.serialize(PushModeSerializer.java:57)
at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:176)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:580)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:154)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:146)
at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:142)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:613)
Exception may be harmless, but we should ensure that it is not regularly printed in the log.