NPE org.apache.coyote.http11.Http11Processor.service whilst restarting

Description

these errors randomly popped up whilst shutting down Lucee

20-Feb-2020 04:19:23.393 SEVERE [http-nio-8888-exec-10] org.apache.coyote.http11.Http11Processor.service Error processing request
java.lang.NullPointerException
at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:641)
at org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:166)
at org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:266)
at org.apache.coyote.http11.Http11Processor.finishResponse(Http11Processor.java:1539)
at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:365)
at org.apache.coyote.Response.action(Response.java:173)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
at org.apache.catalina.connector.Response.finishResponse(Response.java:484)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:373)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
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)

20-Feb-2020 04:19:23.393 SEVERE [http-nio-8888-exec-10] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response
java.lang.NullPointerException
at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:641)
at org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:166)
at org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:266)
at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:1525)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:840)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
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)

20-Feb-2020 04:19:23.408 INFO [Thread-47855] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

Environment

Windows 10
Java 1.8.0_181

Activity

Pothys - MitrahSoft 25 February 2020 at 06:22

OK , will confirm about this issue.

Zac Spitzer 21 February 2020 at 14:00

I only got it randomly..... I do have "Buffer Tag Body Output" enabled

Pothys - MitrahSoft 21 February 2020 at 13:48

I've checked this ticket & can't able to reproduce this same issue when restarting the lucee and shutting down the lucee. From 5.3.5.78-SNAPSHOT, some different exceptions are only thrown. As I said in LDEV-2712. Is this have happened on the latest version also?

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 19 February 2020 at 17:29
Updated 25 February 2020 at 06:22