-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
When Undertow is shutting down, somethings we see the following stack trace:
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because "threadLocalData" is null at io.undertow.core@2.3.14.Final//io.undertow.server.DefaultByteBufferPool$ThreadLocalCache.remove(DefaultByteBufferPool.java:360) at io.undertow.core@2.3.14.Final//io.undertow.server.DefaultByteBufferPool.close(DefaultByteBufferPool.java:235) at org.wildfly.extension.undertow@33.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.ByteBufferPoolDefinition$ByteBufferPoolService.stop(ByteBufferPoolDefinition.java:168) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1671) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1641) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363) at java.base/java.lang.Thread.run(Thread.java:1570)
The stack trace is taken from a WildFly shutdown, but notice that this error can come up in standalone mode as well, when shutting Undertow.
- is incorporated by
-
WFCORE-6862 CVE-2024-6162 CVE-2024-27316 Upgrade Undertow to 2.3.14.Final
- Resolved