HTTP Status 500 – Internal Server Error


Type Exception Report

Message A trailer fields supplier may not be set for this response. Either the underlying protocol does not support trailer fields or the protocol requires that the supplier is set before the response is committed

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

Exception

java.lang.IllegalStateException: A trailer fields supplier may not be set for this response. Either the underlying protocol does not support trailer fields or the protocol requires that the supplier is set before the response is committed
	org.apache.coyote.Response.setTrailerFields(Response.java:393)
	org.apache.catalina.connector.Response.setTrailerFields(Response.java:1115)
	org.apache.catalina.connector.ResponseFacade.setTrailerFields(ResponseFacade.java:649)
	trailers.ResponseTrailers.doGet(ResponseTrailers.java:44)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

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


Apache Tomcat/9.0.35