Testsuite: org.apache.coyote.http11.filters.TestChunkedInputFilter Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.944 sec ------------- Standard Error ----------------- 19-Apr-2024 13:11:08.870 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenSwallowException] 19-Apr-2024 13:11:09.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 19-Apr-2024 13:11:09.475 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:09.475 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:09.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38509"] 19-Apr-2024 13:11:09.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38509"] 19-Apr-2024 13:11:09.736 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:09.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38509"] 19-Apr-2024 13:11:09.770 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38509"] 19-Apr-2024 13:11:09.789 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeNineDigit] 19-Apr-2024 13:11:09.802 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 19-Apr-2024 13:11:09.803 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:09.803 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:09.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40189"] 19-Apr-2024 13:11:09.863 INFO [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 19-Apr-2024 13:11:09.864 SEVERE [http-nio-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:09.867 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40189"] 19-Apr-2024 13:11:09.868 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:09.871 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40189"] 19-Apr-2024 13:11:09.873 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40189"] 19-Apr-2024 13:11:09.875 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndCRLF] 19-Apr-2024 13:11:09.878 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 19-Apr-2024 13:11:09.878 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:09.879 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:09.885 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37105"] 19-Apr-2024 13:11:10.923 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37105"] 19-Apr-2024 13:11:10.926 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:10.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37105"] 19-Apr-2024 13:11:10.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37105"] 19-Apr-2024 13:11:10.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneOver] 19-Apr-2024 13:11:10.942 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 19-Apr-2024 13:11:10.943 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:10.943 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:10.948 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44503"] 19-Apr-2024 13:11:10.957 INFO [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxExtensionSize exceeded 19-Apr-2024 13:11:10.958 SEVERE [http-nio-127.0.0.1-auto-4-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$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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:10.961 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44503"] 19-Apr-2024 13:11:10.963 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:10.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44503"] 19-Apr-2024 13:11:10.979 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44503"] 19-Apr-2024 13:11:10.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeEightDigit] 19-Apr-2024 13:11:10.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 19-Apr-2024 13:11:10.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:10.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:10.991 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33401"] 19-Apr-2024 13:11:11.006 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33401"] 19-Apr-2024 13:11:11.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:11.008 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33401"] 19-Apr-2024 13:11:11.011 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33401"] 19-Apr-2024 13:11:11.013 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderLF] 19-Apr-2024 13:11:11.014 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 19-Apr-2024 13:11:11.015 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:11.015 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:11.021 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46725"] 19-Apr-2024 13:11:11.033 INFO [http-nio-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) 19-Apr-2024 13:11:11.033 SEVERE [http-nio-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:12.033 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46725"] 19-Apr-2024 13:11:12.033 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:12.036 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46725"] 19-Apr-2024 13:11:12.038 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46725"] 19-Apr-2024 13:11:12.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneBelow] 19-Apr-2024 13:11:12.041 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 19-Apr-2024 13:11:12.041 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:12.041 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:12.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33567"] 19-Apr-2024 13:11:12.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33567"] 19-Apr-2024 13:11:12.051 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:12.053 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33567"] 19-Apr-2024 13:11:12.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33567"] 19-Apr-2024 13:11:12.059 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoTrailingHeaders] 19-Apr-2024 13:11:12.060 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 19-Apr-2024 13:11:12.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:12.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:12.065 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36525"] 19-Apr-2024 13:11:12.069 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36525"] 19-Apr-2024 13:11:12.070 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:12.071 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36525"] 19-Apr-2024 13:11:12.074 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36525"] 19-Apr-2024 13:11:12.075 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimit] 19-Apr-2024 13:11:12.076 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 19-Apr-2024 13:11:12.077 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:12.077 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:12.080 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34345"] 19-Apr-2024 13:11:12.084 INFO [http-nio-127.0.0.1-auto-9-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 19-Apr-2024 13:11:12.085 SEVERE [http-nio-127.0.0.1-auto-9-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:12.087 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34345"] 19-Apr-2024 13:11:12.087 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:12.089 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34345"] 19-Apr-2024 13:11:12.090 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34345"] 19-Apr-2024 13:11:12.092 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkCRLF] 19-Apr-2024 13:11:12.094 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 19-Apr-2024 13:11:12.094 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:12.094 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:12.098 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45403"] 19-Apr-2024 13:11:13.105 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45403"] 19-Apr-2024 13:11:13.108 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:13.110 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45403"] 19-Apr-2024 13:11:13.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45403"] 19-Apr-2024 13:11:13.124 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndLF] 19-Apr-2024 13:11:13.125 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 19-Apr-2024 13:11:13.126 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:13.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:13.130 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44961"] 19-Apr-2024 13:11:14.135 INFO [http-nio-127.0.0.1-auto-11-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 19-Apr-2024 13:11:14.135 SEVERE [http-nio-127.0.0.1-auto-11-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$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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:14.136 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44961"] 19-Apr-2024 13:11:14.137 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:14.139 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44961"] 19-Apr-2024 13:11:14.140 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44961"] 19-Apr-2024 13:11:14.141 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeIntegerMinValue] 19-Apr-2024 13:11:14.142 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 19-Apr-2024 13:11:14.143 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:14.143 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:14.146 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-12-43463"] 19-Apr-2024 13:11:14.151 INFO [http-nio-127.0.0.1-auto-12-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 19-Apr-2024 13:11:14.151 SEVERE [http-nio-127.0.0.1-auto-12-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:14.153 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-12-43463"] 19-Apr-2024 13:11:14.153 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:14.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-12-43463"] 19-Apr-2024 13:11:14.157 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12-43463"] 19-Apr-2024 13:11:14.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeAbsent] 19-Apr-2024 13:11:14.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 19-Apr-2024 13:11:14.159 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:14.159 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:14.162 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-33893"] 19-Apr-2024 13:11:14.167 INFO [http-nio-127.0.0.1-auto-13-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 19-Apr-2024 13:11:14.167 SEVERE [http-nio-127.0.0.1-auto-13-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:14.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-33893"] 19-Apr-2024 13:11:14.170 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:14.171 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-33893"] 19-Apr-2024 13:11:14.173 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-33893"] 19-Apr-2024 13:11:14.174 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenThrowException] 19-Apr-2024 13:11:14.176 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 19-Apr-2024 13:11:14.176 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:14.176 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:14.179 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42725"] 19-Apr-2024 13:11:14.185 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42725"] 19-Apr-2024 13:11:14.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:14.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42725"] 19-Apr-2024 13:11:14.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42725"] 19-Apr-2024 13:11:14.193 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersLF] 19-Apr-2024 13:11:14.194 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 19-Apr-2024 13:11:14.195 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:14.195 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:14.198 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33225"] 19-Apr-2024 13:11:15.203 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33225"] 19-Apr-2024 13:11:15.206 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:15.208 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33225"] 19-Apr-2024 13:11:15.211 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33225"] 19-Apr-2024 13:11:15.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderCRLF] 19-Apr-2024 13:11:15.220 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-16"] 19-Apr-2024 13:11:15.221 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:15.221 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:15.237 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-16-43739"] 19-Apr-2024 13:11:16.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-16-43739"] 19-Apr-2024 13:11:16.250 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:16.252 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-16-43739"] 19-Apr-2024 13:11:16.254 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-16-43739"] 19-Apr-2024 13:11:16.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeLong] 19-Apr-2024 13:11:16.256 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-17"] 19-Apr-2024 13:11:16.256 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:16.256 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:16.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-17-35225"] 19-Apr-2024 13:11:16.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-17-35225"] 19-Apr-2024 13:11:16.271 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:16.273 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-17-35225"] 19-Apr-2024 13:11:16.275 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-17-35225"] 19-Apr-2024 13:11:16.276 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeZero] 19-Apr-2024 13:11:16.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-18"] 19-Apr-2024 13:11:16.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:16.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:16.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-18-46385"] 19-Apr-2024 13:11:16.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-18-46385"] 19-Apr-2024 13:11:16.285 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:16.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-18-46385"] 19-Apr-2024 13:11:16.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-18-46385"] 19-Apr-2024 13:11:16.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkLF] 19-Apr-2024 13:11:16.290 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-19"] 19-Apr-2024 13:11:16.290 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:16.290 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:16.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-19-36587"] 19-Apr-2024 13:11:16.296 INFO [http-nio-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 19-Apr-2024 13:11:16.296 SEVERE [http-nio-127.0.0.1-auto-19-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$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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:17.295 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-19-36587"] 19-Apr-2024 13:11:17.296 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:17.298 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-19-36587"] 19-Apr-2024 13:11:17.301 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-19-36587"] 19-Apr-2024 13:11:17.303 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitExact] 19-Apr-2024 13:11:17.303 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-20"] 19-Apr-2024 13:11:17.304 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:17.304 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:17.317 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-20-35069"] 19-Apr-2024 13:11:17.331 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-20-35069"] 19-Apr-2024 13:11:17.331 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:17.333 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-20-35069"] 19-Apr-2024 13:11:17.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-20-35069"] 19-Apr-2024 13:11:17.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersCRLF] 19-Apr-2024 13:11:17.338 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-21"] 19-Apr-2024 13:11:17.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:17.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:17.343 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-21-40293"] 19-Apr-2024 13:11:18.353 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-21-40293"] 19-Apr-2024 13:11:18.354 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:18.356 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-21-40293"] 19-Apr-2024 13:11:18.357 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-21-40293"] 19-Apr-2024 13:11:18.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeMinusOne] 19-Apr-2024 13:11:18.359 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-22"] 19-Apr-2024 13:11:18.360 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:18.360 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:18.363 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-22-46181"] 19-Apr-2024 13:11:18.371 INFO [http-nio-127.0.0.1-auto-22-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 19-Apr-2024 13:11:18.371 SEVERE [http-nio-127.0.0.1-auto-22-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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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) 19-Apr-2024 13:11:18.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-22-46181"] 19-Apr-2024 13:11:18.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:18.374 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-22-46181"] 19-Apr-2024 13:11:18.377 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-22-46181"] 19-Apr-2024 13:11:18.378 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeTwentyFive] 19-Apr-2024 13:11:18.378 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-23"] 19-Apr-2024 13:11:18.379 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:18.379 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:18.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-23-42721"] 19-Apr-2024 13:11:18.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-23-42721"] 19-Apr-2024 13:11:18.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:18.385 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-23-42721"] 19-Apr-2024 13:11:18.387 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-23-42721"] 19-Apr-2024 13:11:18.388 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersCRLF] 19-Apr-2024 13:11:18.389 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-24"] 19-Apr-2024 13:11:18.389 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:18.389 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:18.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-24-33505"] 19-Apr-2024 13:11:19.394 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-24-33505"] 19-Apr-2024 13:11:19.395 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:19.396 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-24-33505"] 19-Apr-2024 13:11:19.398 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-24-33505"] 19-Apr-2024 13:11:19.399 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersLF] 19-Apr-2024 13:11:19.400 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-25"] 19-Apr-2024 13:11:19.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Apr-2024 13:11:19.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 19-Apr-2024 13:11:19.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-25-37697"] 19-Apr-2024 13:11:20.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-25-37697"] 19-Apr-2024 13:11:20.406 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Apr-2024 13:11:20.408 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-25-37697"] 19-Apr-2024 13:11:20.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-25-37697"] ------------- ---------------- --------------- Testcase: testTrailerHeaderNameNotTokenSwallowException took 1.245 sec Testcase: testChunkSizeNineDigit took 0.087 sec Testcase: testEndCRLF took 1.057 sec Testcase: testExtensionSizeLimitOneOver took 0.048 sec Testcase: testChunkSizeEightDigit took 0.032 sec Testcase: testChunkHeaderLF took 1.027 sec Testcase: testExtensionSizeLimitOneBelow took 0.019 sec Testcase: testNoTrailingHeaders took 0.016 sec Testcase: testTrailingHeadersSizeLimit took 0.017 sec Testcase: testChunkCRLF took 1.031 sec Testcase: testEndLF took 1.017 sec Testcase: testChunkSizeIntegerMinValue took 0.016 sec Testcase: testChunkSizeAbsent took 0.016 sec Testcase: testTrailerHeaderNameNotTokenThrowException took 0.019 sec Testcase: testSecondTrailingHeadersLF took 1.019 sec Testcase: testChunkHeaderCRLF took 1.041 sec Testcase: testChunkSizeLong took 0.021 sec Testcase: testChunkSizeZero took 0.014 sec Testcase: testChunkLF took 1.013 sec Testcase: testExtensionSizeLimitExact took 0.034 sec Testcase: testFirstTrailingHeadersCRLF took 1.022 sec Testcase: testChunkSizeMinusOne took 0.019 sec Testcase: testChunkSizeTwentyFive took 0.011 sec Testcase: testSecondTrailingHeadersCRLF took 1.011 sec Testcase: testFirstTrailingHeadersLF took 1.011 sec