HTTP Status 500 – Internal Server Error


Type Exception Report

Message Unable to decode multipart encoded request: the request was rejected because its size is unknown

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

Exception

org.apache.hivemind.ApplicationRuntimeException: Unable to decode multipart encoded request: the request was rejected because its size is unknown
	org.apache.tapestry.multipart.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:56)
	$ServletMultipartDecoder_16b54bf0749.decode($ServletMultipartDecoder_16b54bf0749.java)
	$ServletMultipartDecoder_16b54bf074a.decode($ServletMultipartDecoder_16b54bf074a.java)
	org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
	$ServletRequestServicerFilter_16b54bf0791.service($ServletRequestServicerFilter_16b54bf0791.java)
	$ServletRequestServicer_16b54bf0799.service($ServletRequestServicer_16b54bf0799.java)
	org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
	$ServletRequestServicerFilter_16b54bf0795.service($ServletRequestServicerFilter_16b54bf0795.java)
	$ServletRequestServicer_16b54bf0799.service($ServletRequestServicer_16b54bf0799.java)
	$ServletRequestServicer_16b54bf078b.service($ServletRequestServicer_16b54bf078b.java)
	org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
	org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.europages.web.ReplaceHTMLFilter.doFilter(ReplaceHTMLFilter.java:76)
	com.europages.web.JSessionIdCleanerFilter.doFilter(JSessionIdCleanerFilter.java:72)
	com.europages.commons.servlet.ProcessingTimeStatisticsFilter.doFilter(ProcessingTimeStatisticsFilter.java:122)

Root Cause

org.apache.commons.fileupload.FileUploadBase$UnknownSizeException: the request was rejected because its size is unknown
	org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:305)
	org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
	org.apache.tapestry.multipart.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:50)
	$ServletMultipartDecoder_16b54bf0749.decode($ServletMultipartDecoder_16b54bf0749.java)
	$ServletMultipartDecoder_16b54bf074a.decode($ServletMultipartDecoder_16b54bf074a.java)
	org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
	$ServletRequestServicerFilter_16b54bf0791.service($ServletRequestServicerFilter_16b54bf0791.java)
	$ServletRequestServicer_16b54bf0799.service($ServletRequestServicer_16b54bf0799.java)
	org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
	$ServletRequestServicerFilter_16b54bf0795.service($ServletRequestServicerFilter_16b54bf0795.java)
	$ServletRequestServicer_16b54bf0799.service($ServletRequestServicer_16b54bf0799.java)
	$ServletRequestServicer_16b54bf078b.service($ServletRequestServicer_16b54bf078b.java)
	org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
	org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.europages.web.ReplaceHTMLFilter.doFilter(ReplaceHTMLFilter.java:76)
	com.europages.web.JSessionIdCleanerFilter.doFilter(JSessionIdCleanerFilter.java:72)
	com.europages.commons.servlet.ProcessingTimeStatisticsFilter.doFilter(ProcessingTimeStatisticsFilter.java:122)

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


Apache Tomcat/8.5.14 (Debian)