Question
Anthem
US
Last activity: 28 Feb 2022 0:03 EST
NullPointerExceptions related to Tomcat Inflater and background process failures.
Hi Team,
We are frequently observing high thread counts and jvm's slowness and could find below mentioned exceptions in the logs.
PRPC: 8.4.4 | Tomcat : 8.5.13
Any suggestions to resolve the same ? Thanks in advance.
1) SEVERE: Error reading request, ignored
java.lang.NullPointerException: Inflater has been closed
at java.util.zip.Inflater.ensureOpen(Inflater.java:389)
at java.util.zip.Inflater.inflate(Inflater.java:257)
at org.apache.tomcat.websocket.PerMessageDeflate.getMoreData(PerMessageDeflate.java:201)
at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:401)
at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:288)
at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:127)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:73)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1697)
Hi Team,
We are frequently observing high thread counts and jvm's slowness and could find below mentioned exceptions in the logs.
PRPC: 8.4.4 | Tomcat : 8.5.13
Any suggestions to resolve the same ? Thanks in advance.
1) SEVERE: Error reading request, ignored
java.lang.NullPointerException: Inflater has been closed
at java.util.zip.Inflater.ensureOpen(Inflater.java:389)
at java.util.zip.Inflater.inflate(Inflater.java:257)
at org.apache.tomcat.websocket.PerMessageDeflate.getMoreData(PerMessageDeflate.java:201)
at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:401)
at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:288)
at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:127)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:73)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1697)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:934)
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:626)
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:604)
at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:877)
at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:810)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2) Feb 22, 2022 9:08:56 AM org.apache.tomcat.websocket.BackgroundProcessManager process
SEVERE: A background process failed
java.lang.NullPointerException