Testsuite: org.apache.coyote.http11.filters.TestChunkedInputFilter Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.042 sec ------------- Standard Error ----------------- 18-Apr-2024 12:43:10.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenSwallowException] 18-Apr-2024 12:43:10.777 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 18-Apr-2024 12:43:10.817 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:10.817 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:10.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38873"] 18-Apr-2024 12:43:11.051 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38873"] 18-Apr-2024 12:43:11.056 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:11.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38873"] 18-Apr-2024 12:43:11.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38873"] 18-Apr-2024 12:43:11.098 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeNineDigit] 18-Apr-2024 12:43:11.100 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 18-Apr-2024 12:43:11.106 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:11.106 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:11.111 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44233"] 18-Apr-2024 12:43:11.114 INFO [http-nio2-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 18-Apr-2024 12:43:11.115 SEVERE [http-nio2-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:595) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:11.119 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44233"] 18-Apr-2024 12:43:11.121 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:11.123 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44233"] 18-Apr-2024 12:43:11.124 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44233"] 18-Apr-2024 12:43:11.128 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndCRLF] 18-Apr-2024 12:43:11.130 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 18-Apr-2024 12:43:11.147 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:11.148 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:11.158 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37385"] 18-Apr-2024 12:43:12.170 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37385"] 18-Apr-2024 12:43:12.173 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:12.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37385"] 18-Apr-2024 12:43:12.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37385"] 18-Apr-2024 12:43:12.193 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneOver] 18-Apr-2024 12:43:12.195 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 18-Apr-2024 12:43:12.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:12.225 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:12.235 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41083"] 18-Apr-2024 12:43:12.238 INFO [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxExtensionSize exceeded 18-Apr-2024 12:43:12.238 SEVERE [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:539) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:12.242 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41083"] 18-Apr-2024 12:43:12.244 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:12.247 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41083"] 18-Apr-2024 12:43:12.248 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41083"] 18-Apr-2024 12:43:12.253 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeEightDigit] 18-Apr-2024 12:43:12.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 18-Apr-2024 12:43:12.263 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:12.263 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:12.272 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44901"] 18-Apr-2024 12:43:12.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44901"] 18-Apr-2024 12:43:12.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:12.279 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44901"] 18-Apr-2024 12:43:12.280 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44901"] 18-Apr-2024 12:43:12.283 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderLF] 18-Apr-2024 12:43:12.285 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 18-Apr-2024 12:43:12.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:12.288 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:12.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33749"] 18-Apr-2024 12:43:12.294 INFO [http-nio2-127.0.0.1-auto-6-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 18-Apr-2024 12:43:12.295 SEVERE [http-nio2-127.0.0.1-auto-6-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:539) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:13.294 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33749"] 18-Apr-2024 12:43:13.295 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:13.297 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33749"] 18-Apr-2024 12:43:13.298 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33749"] 18-Apr-2024 12:43:13.300 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneBelow] 18-Apr-2024 12:43:13.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 18-Apr-2024 12:43:13.304 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:13.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:13.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38491"] 18-Apr-2024 12:43:13.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38491"] 18-Apr-2024 12:43:13.312 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:13.313 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38491"] 18-Apr-2024 12:43:13.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38491"] 18-Apr-2024 12:43:13.317 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoTrailingHeaders] 18-Apr-2024 12:43:13.318 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 18-Apr-2024 12:43:13.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:13.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:13.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46403"] 18-Apr-2024 12:43:13.327 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46403"] 18-Apr-2024 12:43:13.328 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:13.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46403"] 18-Apr-2024 12:43:13.330 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46403"] 18-Apr-2024 12:43:13.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimit] 18-Apr-2024 12:43:13.333 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 18-Apr-2024 12:43:13.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:13.336 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:13.338 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42657"] 18-Apr-2024 12:43:13.341 INFO [http-nio2-127.0.0.1-auto-9-exec-3] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 18-Apr-2024 12:43:13.341 SEVERE [http-nio2-127.0.0.1-auto-9-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:539) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:634) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:610) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:13.343 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42657"] 18-Apr-2024 12:43:13.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:13.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42657"] 18-Apr-2024 12:43:13.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42657"] 18-Apr-2024 12:43:13.353 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkCRLF] 18-Apr-2024 12:43:13.354 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 18-Apr-2024 12:43:13.355 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:13.356 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:13.358 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34031"] 18-Apr-2024 12:43:14.360 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34031"] 18-Apr-2024 12:43:14.363 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:14.366 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34031"] 18-Apr-2024 12:43:14.367 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34031"] 18-Apr-2024 12:43:14.371 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndLF] 18-Apr-2024 12:43:14.372 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 18-Apr-2024 12:43:14.377 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:14.378 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:14.385 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35907"] 18-Apr-2024 12:43:15.387 INFO [http-nio2-127.0.0.1-auto-11-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 18-Apr-2024 12:43:15.387 SEVERE [http-nio2-127.0.0.1-auto-11-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:539) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:15.390 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35907"] 18-Apr-2024 12:43:15.391 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:15.392 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35907"] 18-Apr-2024 12:43:15.393 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35907"] 18-Apr-2024 12:43:15.396 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeIntegerMinValue] 18-Apr-2024 12:43:15.398 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 18-Apr-2024 12:43:15.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:15.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:15.409 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-41691"] 18-Apr-2024 12:43:15.417 INFO [http-nio2-127.0.0.1-auto-12-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 18-Apr-2024 12:43:15.418 SEVERE [http-nio2-127.0.0.1-auto-12-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:595) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:15.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-41691"] 18-Apr-2024 12:43:15.422 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:15.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-41691"] 18-Apr-2024 12:43:15.424 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-41691"] 18-Apr-2024 12:43:15.427 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeAbsent] 18-Apr-2024 12:43:15.428 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 18-Apr-2024 12:43:15.436 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:15.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:15.452 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40055"] 18-Apr-2024 12:43:15.454 INFO [http-nio2-127.0.0.1-auto-13-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 18-Apr-2024 12:43:15.455 SEVERE [http-nio2-127.0.0.1-auto-13-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:595) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:15.456 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40055"] 18-Apr-2024 12:43:15.457 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:15.459 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40055"] 18-Apr-2024 12:43:15.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40055"] 18-Apr-2024 12:43:15.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenThrowException] 18-Apr-2024 12:43:15.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 18-Apr-2024 12:43:15.471 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:15.471 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:15.475 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34255"] 18-Apr-2024 12:43:15.478 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34255"] 18-Apr-2024 12:43:15.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:15.482 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34255"] 18-Apr-2024 12:43:15.482 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34255"] 18-Apr-2024 12:43:15.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersLF] 18-Apr-2024 12:43:15.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 18-Apr-2024 12:43:15.492 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:15.492 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:15.496 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42987"] 18-Apr-2024 12:43:16.500 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42987"] 18-Apr-2024 12:43:16.500 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:16.502 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42987"] 18-Apr-2024 12:43:16.503 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42987"] 18-Apr-2024 12:43:16.507 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderCRLF] 18-Apr-2024 12:43:16.511 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 18-Apr-2024 12:43:16.524 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:16.524 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:16.528 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36015"] 18-Apr-2024 12:43:17.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36015"] 18-Apr-2024 12:43:17.534 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:17.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36015"] 18-Apr-2024 12:43:17.539 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36015"] 18-Apr-2024 12:43:17.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeLong] 18-Apr-2024 12:43:17.558 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 18-Apr-2024 12:43:17.584 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:17.585 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:17.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46787"] 18-Apr-2024 12:43:17.595 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46787"] 18-Apr-2024 12:43:17.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:17.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46787"] 18-Apr-2024 12:43:17.601 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46787"] 18-Apr-2024 12:43:17.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeZero] 18-Apr-2024 12:43:17.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 18-Apr-2024 12:43:17.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:17.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:17.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-35073"] 18-Apr-2024 12:43:17.619 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-35073"] 18-Apr-2024 12:43:17.621 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:17.622 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-35073"] 18-Apr-2024 12:43:17.623 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-35073"] 18-Apr-2024 12:43:17.626 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkLF] 18-Apr-2024 12:43:17.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 18-Apr-2024 12:43:17.629 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:17.630 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:17.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-43319"] 18-Apr-2024 12:43:17.633 INFO [http-nio2-127.0.0.1-auto-19-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 18-Apr-2024 12:43:17.633 SEVERE [http-nio2-127.0.0.1-auto-19-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:539) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:18.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-43319"] 18-Apr-2024 12:43:18.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:18.636 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-43319"] 18-Apr-2024 12:43:18.636 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-43319"] 18-Apr-2024 12:43:18.639 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitExact] 18-Apr-2024 12:43:18.640 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 18-Apr-2024 12:43:18.643 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:18.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:18.646 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-39091"] 18-Apr-2024 12:43:18.649 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-39091"] 18-Apr-2024 12:43:18.650 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:18.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-39091"] 18-Apr-2024 12:43:18.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-39091"] 18-Apr-2024 12:43:18.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersCRLF] 18-Apr-2024 12:43:18.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 18-Apr-2024 12:43:18.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:18.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:18.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40863"] 18-Apr-2024 12:43:19.662 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40863"] 18-Apr-2024 12:43:19.663 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:19.664 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40863"] 18-Apr-2024 12:43:19.664 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40863"] 18-Apr-2024 12:43:19.666 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeMinusOne] 18-Apr-2024 12:43:19.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 18-Apr-2024 12:43:19.669 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:19.670 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:19.672 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44717"] 18-Apr-2024 12:43:19.674 INFO [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 18-Apr-2024 12:43:19.674 SEVERE [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:595) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:196) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1269) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 18-Apr-2024 12:43:19.676 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44717"] 18-Apr-2024 12:43:19.678 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:19.679 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44717"] 18-Apr-2024 12:43:19.679 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44717"] 18-Apr-2024 12:43:19.682 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeTwentyFive] 18-Apr-2024 12:43:19.683 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 18-Apr-2024 12:43:19.697 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:19.698 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:19.700 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37809"] 18-Apr-2024 12:43:19.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37809"] 18-Apr-2024 12:43:19.707 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:19.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37809"] 18-Apr-2024 12:43:19.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37809"] 18-Apr-2024 12:43:19.710 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersCRLF] 18-Apr-2024 12:43:19.711 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 18-Apr-2024 12:43:19.713 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:19.713 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:19.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-40823"] 18-Apr-2024 12:43:20.719 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-40823"] 18-Apr-2024 12:43:20.720 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:20.721 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-40823"] 18-Apr-2024 12:43:20.722 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-40823"] 18-Apr-2024 12:43:20.724 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersLF] 18-Apr-2024 12:43:20.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 18-Apr-2024 12:43:20.730 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:43:20.730 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:43:20.733 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-42915"] 18-Apr-2024 12:43:21.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-42915"] 18-Apr-2024 12:43:21.736 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:43:21.737 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-42915"] 18-Apr-2024 12:43:21.737 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-42915"] ------------- ---------------- --------------- Testcase: testTrailerHeaderNameNotTokenSwallowException took 1.262 sec Testcase: testChunkSizeNineDigit took 0.029 sec Testcase: testEndCRLF took 1.061 sec Testcase: testExtensionSizeLimitOneOver took 0.064 sec Testcase: testChunkSizeEightDigit took 0.03 sec Testcase: testChunkHeaderLF took 1.016 sec Testcase: testExtensionSizeLimitOneBelow took 0.018 sec Testcase: testNoTrailingHeaders took 0.015 sec Testcase: testTrailingHeadersSizeLimit took 0.02 sec Testcase: testChunkCRLF took 1.018 sec Testcase: testEndLF took 1.025 sec Testcase: testChunkSizeIntegerMinValue took 0.03 sec Testcase: testChunkSizeAbsent took 0.035 sec Testcase: testTrailerHeaderNameNotTokenThrowException took 0.023 sec Testcase: testSecondTrailingHeadersLF took 1.021 sec Testcase: testChunkHeaderCRLF took 1.044 sec Testcase: testChunkSizeLong took 0.053 sec Testcase: testChunkSizeZero took 0.022 sec Testcase: testChunkLF took 1.013 sec Testcase: testExtensionSizeLimitExact took 0.015 sec Testcase: testFirstTrailingHeadersCRLF took 1.013 sec Testcase: testChunkSizeMinusOne took 0.016 sec Testcase: testChunkSizeTwentyFive took 0.028 sec Testcase: testSecondTrailingHeadersCRLF took 1.014 sec Testcase: testFirstTrailingHeadersLF took 1.014 sec