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_16ed58cfb4d.decode($ServletMultipartDecoder_16ed58cfb4d.java)
	$ServletMultipartDecoder_16ed58cfb4e.decode($ServletMultipartDecoder_16ed58cfb4e.java)
	org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
	$ServletRequestServicerFilter_16ed58cfb95.service($ServletRequestServicerFilter_16ed58cfb95.java)
	$ServletRequestServicer_16ed58cfb9d.service($ServletRequestServicer_16ed58cfb9d.java)
	org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
	$ServletRequestServicerFilter_16ed58cfb99.service($ServletRequestServicerFilter_16ed58cfb99.java)
	$ServletRequestServicer_16ed58cfb9d.service($ServletRequestServicer_16ed58cfb9d.java)
	$ServletRequestServicer_16ed58cfb8f.service($ServletRequestServicer_16ed58cfb8f.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_16ed58cfb4d.decode($ServletMultipartDecoder_16ed58cfb4d.java)
	$ServletMultipartDecoder_16ed58cfb4e.decode($ServletMultipartDecoder_16ed58cfb4e.java)
	org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
	$ServletRequestServicerFilter_16ed58cfb95.service($ServletRequestServicerFilter_16ed58cfb95.java)
	$ServletRequestServicer_16ed58cfb9d.service($ServletRequestServicer_16ed58cfb9d.java)
	org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
	$ServletRequestServicerFilter_16ed58cfb99.service($ServletRequestServicerFilter_16ed58cfb99.java)
	$ServletRequestServicer_16ed58cfb9d.service($ServletRequestServicer_16ed58cfb9d.java)
	$ServletRequestServicer_16ed58cfb8f.service($ServletRequestServicer_16ed58cfb8f.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)