com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception while parsing uploaded file Wrapped Exception: Processing of multipart/form-data request failed. /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory)

XWiki.org JIRA | Sorin Burjan | 4 years ago
  1. 0

    Steps to reproduce: 1) * create a XEM Instance using Oracle. Make sure your are on a clean build. * Start the instance and install the UI using DW (I used Tomcat 7 and Oracle 11G R2) * either on the Main wiki, or on a Workspace subwiki, attach a default xar found on maven.xwiki.org. I used xwiki-manager-ui-all-4.4.1.xar. * you will get a window in window error with a CSRF error. Reminds me of the Inception movie. 2) * activate superadmin user * try to manually import the default XAR after logging in with superadmin * image attached Also, I tested with custom XAR's, and some of them failed, some of them worked. Can't tell what is with this odd behaviour Image attached. Only reproduces on Oracle. Attached stacktrace log {code} 2013-04-10 17:34:43,712 [http://192.168.0.10:8080/xwiki/wiki/sorinello/upload/Main/WebHome] ERROR c.x.x.w.Utils - Failed to process MultiPart request com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception while parsing uploaded file Wrapped Exception: Processing of multipart/form-data request failed. /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory) at com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:260) ~[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:180) ~[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at com.xpn.xwiki.web.Utils.handleMultipart(Utils.java:593) ~[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:249) [xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123) [xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9] at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) [servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-5.0-milestone-2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-5.0-milestone-2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-5.0-milestone-2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-5.0-milestone-2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.32] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [catalina.jar:7.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.32] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) [catalina.jar:7.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [catalina.jar:7.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) [tomcat-coyote.jar:7.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) [tomcat-coyote.jar:7.0.32] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [tomcat-coyote.jar:7.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_22] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_22] at java.lang.Thread.run(Thread.java:679) [na:1.6.0_22] Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory) at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371) ~[commons-fileupload-1.2.2.jar:1.2.2] at com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:250) ~[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na] ... 41 common frames omitted Caused by: java.io.FileNotFoundException: /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory) at java.io.FileOutputStream.open(Native Method) ~[na:1.6.0_22] at java.io.FileOutputStream.<init>(FileOutputStream.java:209) ~[na:1.6.0_22] at java.io.FileOutputStream.<init>(FileOutputStream.java:160) ~[na:1.6.0_22] at org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:178) ~[commons-io-2.4.jar:2.4] at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224) ~[commons-io-2.4.jar:2.4] at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128) ~[commons-io-2.4.jar:2.4] at org.apache.commons.fileupload.util.Streams.copy(Streams.java:103) ~[commons-fileupload-1.2.2.jar:1.2.2] at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66) ~[commons-fileupload-1.2.2.jar:1.2.2] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366) ~[commons-fileupload-1.2.2.jar:1.2.2] ... 42 common frames omitted 2013-04-10 17:34:43,713 [http://192.168.0.10:8080/xwiki/wiki/sorinello/upload/Main/WebHome] WARN o.x.c.i.DefaultCSRFToken - CSRFToken: Secret token verification failed, token: "null", stored token: "CBL8QowSF23EmPqXEp4hvg" 2013-04-10 17:34:43,977 [http://192.168.0.10:8080/xwiki/wiki/sorinello/view/Main/WebHome?resubmit=%2Fxwiki%2Fwiki%2Fsorinello%2Fupload%2FMain%2FWebHome%3Fsrid%3DHcyq2Xr3&xback=%2Fxwiki%2Fwiki%2Fsorinello%2Fview%2FMain%2FWebHome&xpage=resubmit] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.web.XWikiMessageTool.get] in sorinello:Panels.WorkspaceInformationPanel@1,19 {code}

    XWiki.org JIRA | 4 years ago | Sorin Burjan
    com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception while parsing uploaded file Wrapped Exception: Processing of multipart/form-data request failed. /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory)
  2. 0

    uploading file error

    Oracle Community | 8 years ago | 800440
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. \temp\upload_3ea7bf8_11c649c0f14__8000_00000001.tmp (The system cannot find the path specified)
  3. 0

    File Upload problem using Tomahawk upload component

    Oracle Community | 8 years ago | 801933
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. \temp\upload_26d418fe_11d9c11b932__7fff_00000008.tmp (The system cannot find the path specified)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomahawk fileuplaod issue for audio files

    Oracle Community | 6 years ago | 839587
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. \temp\upload_1a2ff1e1_12fb571b792__8000_00000027.tmp (The system cannot find the path specified)
  6. 0

    Exception while adding second asset through admin

    GitHub | 3 years ago | phillipuniverse
    org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /Users/anikanchan/git/DemoSite/admin/target/tmp/upload__449c3a90_141d2d31f1d__8000_00000003.tmp (Too many open files)

  1. tvrmsmith 1 times, last 1 week ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 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. java.io.FileNotFoundException

    /home/xwiki/Desktop/DatabaseTest/apache-tomcat-7.0.32/temp/upload__e2f4132_13df44ef405__8000_00000041.tmp (No such file or directory)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)[na:1.6.0_22]
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:209)[na:1.6.0_22]
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:160)[na:1.6.0_22]
    3 frames
  3. Commons IO
    ThresholdingOutputStream.write
    1. org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:178)[commons-io-2.4.jar:2.4]
    2. org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)[commons-io-2.4.jar:2.4]
    3. org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)[commons-io-2.4.jar:2.4]
    3 frames
  4. Apache Commons FileUpload
    FileUploadBase.parseRequest
    1. org.apache.commons.fileupload.util.Streams.copy(Streams.java:103)[commons-fileupload-1.2.2.jar:1.2.2]
    2. org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)[commons-fileupload-1.2.2.jar:1.2.2]
    3. org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)[commons-fileupload-1.2.2.jar:1.2.2]
    3 frames
  5. com.xpn.xwiki
    XWikiAction.execute
    1. com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:250)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    2. com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:180)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    3. com.xpn.xwiki.web.Utils.handleMultipart(Utils.java:593)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    4. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:249)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    5. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    5 frames
  6. struts
    ActionServlet.doPost
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)[struts-1.2.9.jar:1.2.9]
    2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)[struts-1.2.9.jar:1.2.9]
    3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)[struts-1.2.9.jar:1.2.9]
    4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)[struts-1.2.9.jar:1.2.9]
    4 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:641)[servlet-api.jar:na]
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)[servlet-api.jar:na]
    2 frames
  8. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    2 frames
  9. com.xpn.xwiki
    ActionFilter.doFilter
    1. com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)[xwiki-platform-legacy-oldcore-5.0-milestone-2.jar:na]
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    2 frames
  11. org.xwiki.wysiwyg
    ConversionFilter.doFilter
    1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)[xwiki-platform-wysiwyg-server-5.0-milestone-2.jar:na]
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    2 frames
  13. com.xpn.xwiki
    XWikiDavFilter.doFilter
    1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)[xwiki-platform-webdav-server-5.0-milestone-2.jar:na]
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    2 frames
  15. org.xwiki.container
    SavedRequestRestorerFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)[xwiki-platform-container-servlet-5.0-milestone-2.jar:na]
    1 frame
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    2 frames
  17. org.xwiki.container
    SetCharacterEncodingFilter.doFilter
    1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)[xwiki-platform-container-servlet-5.0-milestone-2.jar:na]
    1 frame
  18. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.32]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.32]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)[catalina.jar:7.0.32]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)[catalina.jar:7.0.32]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)[catalina.jar:7.0.32]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)[catalina.jar:7.0.32]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)[catalina.jar:7.0.32]
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)[catalina.jar:7.0.32]
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)[catalina.jar:7.0.32]
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)[catalina.jar:7.0.32]
    10 frames
  19. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)[tomcat-coyote.jar:7.0.32]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)[tomcat-coyote.jar:7.0.32]
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)[tomcat-coyote.jar:7.0.32]
    3 frames
  20. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.6.0_22]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.6.0_22]
    3. java.lang.Thread.run(Thread.java:679)[na:1.6.0_22]
    3 frames