-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 19, 20, 21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8336286 | 21.0.5 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8319790 | 21.0.3-oracle | Weibing Xiao | P3 | Resolved | Fixed | b01 |
JDK-8336727 | 17.0.13 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8319788 | 17.0.11-oracle | Weibing Xiao | P3 | Resolved | Fixed | b01 |
JDK-8334637 | 11.0.25-oracle | Weibing Xiao | P3 | Resolved | Fixed | b02 |
JDK-8336889 | 11.0.25 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8334638 | 8u431 | Weibing Xiao | P3 | Resolved | Fixed | b02 |
Debian 4.14.295 x86_64 GNU/Linux
Adoptium OpenJDK 17.0.5+8
A DESCRIPTION OF THE PROBLEM :
Since upgrading from Adoptium 17.0.4+8 to 17.0.5+8, we started observing this AssertionError in our test environment which has assertions enabled.
java.lang.AssertionError: State is not REQUEST (IDLE)
at sun.net.httpserver.ServerImpl.requestCompleted(ServerImpl.java:967) ~[jdk.httpserver:?]
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:743) ~[jdk.httpserver:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
This happens pretty frequently since the upgrade, but we haven't been able to create a standalone reproduction script yet. I didn't see any other relevant information or logs or information related to the failure.
I noticed a recent change in JDK-8286918 in ServerImpl where this assertion was raised, but haven't been able to identify any specific changes that could be responsible
https://github.com/openjdk/jdk17u-dev/commit/ff5418eff8c07be96005ca0d8477436643cc14dd
REGRESSION : Last worked in version 17
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Unable to reproduce intentionally yet
FREQUENCY : often
- backported by
-
JDK-8319788 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8319790 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8334637 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8334638 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8336286 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8336727 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
-
JDK-8336889 AssertionError in sun.net.httpserver.ServerImpl when connection is idle
- Resolved
- duplicates
-
JDK-8318442 java/net/httpclient/ManyRequests2.java fails intermittently on Linux
- Resolved
- links to
-
Commit openjdk/jdk/47624f6f
-
Commit(master) openjdk/jdk11u-dev/b423f014
-
Commit(master) openjdk/jdk17u-dev/00b764c9
-
Commit(master) openjdk/jdk21u-dev/eba245a4
-
Review openjdk/jdk/16366
-
Review(master) openjdk/jdk11u-dev/2867
-
Review(master) openjdk/jdk17u-dev/2719
-
Review(master) openjdk/jdk21u-dev/833