HTTP Status 500 – Internal Server Error


Type Exception Report

Message Requested read of bytes at position [6] which is beyond the end of the AJP message

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.ArrayIndexOutOfBoundsException: Requested read of bytes at position [6] which is beyond the end of the AJP message
	org.apache.coyote.ajp.AjpMessage.validatePos(AjpMessage.java:370)
	org.apache.coyote.ajp.AjpMessage.getByte(AjpMessage.java:277)
	org.apache.coyote.ajp.AjpProcessor.prepareRequest(AjpProcessor.java:642)
	org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:403)
	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
	org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	java.base/java.lang.Thread.run(Unknown Source)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/9.0.83