javax.faces.FacesException: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8

coderanch.com | 4 months ago
  1. 0

    Erro the request doesn't contain a multipart/form-data or multipart/mixed stream (JSF forum at Coderanch)

    coderanch.com | 6 months ago
    javax.faces.FacesException: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8
  2. 0

    Erro the request doesn't contain a multipart/form-data or multipart/mixed stream

    Coderanch | 2 years ago | wladimir bandeira
    javax.faces.FacesException: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8
  3. 0

    Erro the request doesn't contain a multipart/form-data or multipart/mixed stream (JSF forum at Coderanch)

    coderanch.com | 4 months ago
    javax.faces.FacesException: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    File upload doesn't work with AJAX in PrimeFaces 4.0/JSF 2.2.x - javax.servlet.ServletException: The request content-type is not a multipart/form-data

    Stack Overflow | 3 years ago | Tiny
    javax.faces.FacesException: javax.servlet.ServletException: The request content-type is not a multipart/form-data
  6. 0

    Possible bug in PrimeFaces p:menuItem

    Stack Overflow | 3 years ago | DougMH
    javax.faces.FacesException: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded; charset=UTF-8

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8

      at org.apache.catalina.connector.Request.parseParts()
    2. Glassfish Core
      RequestFacade.getPart
      1. org.apache.catalina.connector.Request.parseParts(Request.java:2789)
      2. org.apache.catalina.connector.Request.getParts(Request.java:2636)
      3. org.apache.catalina.connector.Request.getPart(Request.java:2813)
      4. org.apache.catalina.connector.RequestFacade.getPart(RequestFacade.java:1089)
      4 frames
    3. primefaces
      FileUploadRenderer.decode
      1. org.primefaces.component.fileupload.NativeFileUploadDecoder.decodeSimple(NativeFileUploadDecoder.java:50)
      2. org.primefaces.component.fileupload.NativeFileUploadDecoder.decode(NativeFileUploadDecoder.java:34)
      3. org.primefaces.component.fileupload.FileUploadRenderer.decode(FileUploadRenderer.java:44)
      3 frames
    4. JavaEE 7
      UIInput.processDecodes
      1. javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831)
      2. javax.faces.component.UIInput.decode(UIInput.java:771)
      3. javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1226)
      4. javax.faces.component.UIInput.processDecodes(UIInput.java:676)
      4 frames
    5. primefaces
      UIData.processDecodes
      1. org.primefaces.component.api.UIData.process(UIData.java:336)
      2. org.primefaces.component.api.UIData.processChildren(UIData.java:323)
      3. org.primefaces.component.api.UIData.processPhase(UIData.java:285)
      4. org.primefaces.component.api.UIData.processDecodes(UIData.java:245)
      4 frames
    6. JavaEE 7
      UIComponentBase.processDecodes
      1. javax.faces.component.UIForm.processDecodes(UIForm.java:225)
      2. javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1221)
      3. javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1221)
      3 frames
    7. primefaces
      Layout.processDecodes
      1. org.primefaces.component.layout.Layout.processDecodes(Layout.java:226)
      1 frame
    8. JavaEE 7
      UIViewRoot.processDecodes
      1. javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1221)
      2. javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1221)
      3. javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929)
      3 frames
    9. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      3 frames
    10. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
      10 frames
    14. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
      5 frames
    15. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    16. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame