NutzCN Logo
短点 上传不成功
发布于 3073天前 作者 zozoh 3329 次浏览 复制 上一个帖子 下一个帖子
标签:

07-25 07:28:56.484 8677-12495/com.danoo.androx.xplay I/xplay: err
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.danoo.peanut.T$1.serve(T.java:68)
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925)
at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:761)
Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351)
at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391)
at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111)
at com.danoo.peanut.T.demoupload(T.java:219)
at java.lang.reflect.Method.invoke(Native Method) 
at com.danoo.peanut.T$1.serve(T.java:68) 
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
at java.lang.Thread.run(Thread.java:761) 
Caused by: java.io.FileNotFoundException: /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:169)
at org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:178)
at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)
at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:107)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)
at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391) 
at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111) 
at com.danoo.peanut.T.demoupload(T.java:219) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.danoo.peanut.T$1.serve(T.java:68) 
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
at java.lang.Thread.run(Thread.java:761) 

3 回复
07-25 07:28:56.484 8677-12495/com.danoo.androx.xplay I/xplay: err
                                                              java.lang.reflect.InvocationTargetException
                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                  at com.danoo.peanut.T$1.serve(T.java:68)
                                                                  at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925)
                                                                  at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
                                                                  at java.lang.Thread.run(Thread.java:761)
                                                               Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
                                                                  at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351)
                                                                  at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391)
                                                                  at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111)
                                                                  at com.danoo.peanut.T.demoupload(T.java:219)
                                                                  at java.lang.reflect.Method.invoke(Native Method) 
                                                                  at com.danoo.peanut.T$1.serve(T.java:68) 
                                                                  at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
                                                                  at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
                                                                  at java.lang.Thread.run(Thread.java:761) 
                                                               Caused by: java.io.FileNotFoundException: /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
                                                                  at java.io.FileOutputStream.open(Native Method)
                                                                  at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
                                                                  at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
                                                                  at org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:178)
                                                                  at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)
                                                                  at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)
                                                                  at org.apache.commons.fileupload.util.Streams.copy(Streams.java:107)
                                                                  at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
                                                                  at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)
                                                                  at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391) 
                                                                  at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111) 
                                                                  at com.danoo.peanut.T.demoupload(T.java:219) 
                                                                  at java.lang.reflect.Method.invoke(Native Method) 
                                                                  at com.danoo.peanut.T$1.serve(T.java:68) 
                                                                  at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
                                                                  at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
                                                                  at java.lang.Thread.run(Thread.java:761) 

模拟器没root所以没有/dev/shm 我改一下

来自炫酷的 NutzCN

07-25 07:28:56.484 8677-12495/com.danoo.androx.xplay I/xplay: err
  java.lang.reflect.InvocationTargetException
      at java.lang.reflect.Method.invoke(Native Method)
      at com.danoo.peanut.T$1.serve(T.java:68)
      at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925)
      at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
      at java.lang.Thread.run(Thread.java:761)
   Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351)
      at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391)
      at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111)
      at com.danoo.peanut.T.demoupload(T.java:219)
      at java.lang.reflect.Method.invoke(Native Method) 
      at com.danoo.peanut.T$1.serve(T.java:68) 
      at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
      at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
      at java.lang.Thread.run(Thread.java:761) 
   Caused by: java.io.FileNotFoundException: /dev/shm/upload_009ee37c_3aae_4190_a23e_c108d00a8764_00000002.tmp (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
      at org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:178)
      at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:224)
      at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:128)
      at org.apache.commons.fileupload.util.Streams.copy(Streams.java:107)
      at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)
      at org.apache.commons.fileupload.FileUploadBase.parseParameterMap(FileUploadBase.java:391) 
      at fi.iki.elonen.NanoFileUpload.parseParameterMap(NanoFileUpload.java:111) 
      at com.danoo.peanut.T.demoupload(T.java:219) 
      at java.lang.reflect.Method.invoke(Native Method) 
      at com.danoo.peanut.T$1.serve(T.java:68) 
      at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:925) 
      at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192) 
      at java.lang.Thread.run(Thread.java:761) 

添加回复
请先登陆
回到顶部