You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/09/26 08:35:41 UTC
[Bug 66276] New: Intermittent ClassCastException with HTTP/2 streams
https://bz.apache.org/bugzilla/show_bug.cgi?id=66276
Bug ID: 66276
Summary: Intermittent ClassCastException with HTTP/2 streams
Product: Tomcat 9
Version: 9.0.55
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: brendan.behan@quest.com
Target Milestone: -----
Overview: When Tomcat is configured to use HTTP/2, the following errors will
occasionally be seen in the application logs:
2022-09-04 09:28:59.481 FATAL [http-exec-36] Unhandled exception in thread
"http-exec-36": java.lang.ClassCastException:
org.apache.coyote.http2.RecycledStream cannot be cast to
org.apache.coyote.http2.Stream
java.lang.ClassCastException: org.apache.coyote.http2.RecycledStream cannot be
cast to org.apache.coyote.http2.Stream
at
org.apache.coyote.http2.AbstractNonZeroStream.rePrioritise(AbstractNonZeroStream.java:79)
at
org.apache.coyote.http2.Http2UpgradeHandler.reprioritise(Http2UpgradeHandler.java:1651)
at
org.apache.coyote.http2.Http2AsyncUpgradeHandler.reprioritise(Http2AsyncUpgradeHandler.java:41)
at
org.apache.coyote.http2.Http2Parser.readPriorityFrame(Http2Parser.java:299)
at
org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:254)
at
org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:164)
at
org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1113)
at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1634)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:750)
Steps to reproduce: Enable HTTP/2 connections, and view the application logs
after it has been running for a period of time.
Actual Results: No obvious affect on the application. Appears to be an
intermittent error.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66276] Intermittent ClassCastException with HTTP/2 streams
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66276
Han Li <li...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Han Li <li...@apache.org> ---
Thanks for the report.
Fixed in:
- 10.1.x for 10.1.1 onwards
- 10.0.x for 10.0.27 onwards (Maybe)
- 9.0.x for 9.0.68 onwards
- 8.5.x for 8.5.83 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66276] Intermittent ClassCastException with HTTP/2 streams
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66276
--- Comment #2 from Han Li <li...@apache.org> ---
Fixed in:
- 10.0.x for 10.0.27 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org