Tapestry
  1. Tapestry
  2. TAPESTRY-953

org.apache.tapestry.ApplicationServlet.doService should catch org.apache.hivemind.ApplicationRuntimeException and redirect to Exception page

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.7
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.hivemind.ApplicationRuntimeException: Unable to decode multipart encoded request: Processing of multipart/form-data request failed. Connection reset
      at org.apache.tapestry.multipart.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:56)
      at $ServletMultipartDecoder_10b432044a5.decode($ServletMultipartDecoder_10b432044a5.java)
      at $ServletMultipartDecoder_10b432044a6.decode($ServletMultipartDecoder_10b432044a6.java)
      at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
      at $ServletRequestServicerFilter_10b432044e3.service($ServletRequestServicerFilter_10b432044e3.java)
      at $ServletRequestServicer_10b432044eb.service($ServletRequestServicer_10b432044eb.java)
      at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
      at $ServletRequestServicerFilter_10b432044e7.service($ServletRequestServicerFilter_10b432044e7.java)
      at $ServletRequestServicer_10b432044eb.service($ServletRequestServicer_10b432044eb.java)
      at $ServletRequestServicer_10b432044dd.service($ServletRequestServicer_10b432044dd.java)
      at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
      at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:168)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Connection reset
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:384)
      at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
      at org.apache.tapestry.multipart.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:50)

      When above exception, it should redirect to Exception page!

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            belden
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development