NutzCN Logo
问答 上传警告:Should not end stream
发布于 2829天前 作者 qq_30fdbc0f 2116 次浏览 复制 上一个帖子 下一个帖子
标签:
WARN  org.nutz.mvc.impl.processor.FailProcessor -Error@/popvideo/uploadvideo :
java.lang.RuntimeException: org.nutz.mvc.upload.UploadInvalidFormatException: Should not end stream
        at org.nutz.lang.Lang.wrapThrow(Lang.java:180)
        at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:202)
        at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:61)
        at org.nutz.mvc.adaptor.AbstractAdaptor.adapt(AbstractAdaptor.java:226)
        at org.nutz.mvc.upload.UploadAdaptor.adapt(UploadAdaptor.java:116)
        at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:28)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at org.nutz.integration.shiro.NutShiroProcessor.process(NutShiroProcessor.java:126)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
        at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
        at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
        at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
        at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:198)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
        at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
        at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
        at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
        at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
        at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
        at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.nutz.mvc.upload.UploadInvalidFormatException: Should not end stream
        at org.nutz.mvc.upload.FastUploading.assertStreamNotEnd(FastUploading.java:242)
        at org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:169)
        at org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:185)
        ... 34 more
8 回复

前面还有日志

2017-02-09 15:05:01,563 [SessionValidationThread-1] INFO  org.apache.shiro.session.mgt.AbstractValidatingSessionManager -Finished session validation.  [8] sessions were stopped.
2017-02-09 15:13:31,607 [resin-tcp-connection-*:80-33] WARN  org.nutz.mvc.impl.processor.FailProcessor -Error@/popvideo/uploadvideo :

日志改成debug

重现不了了又

文件大小问题?

应该不是,日志警告对应的文件大小没超过100M,今天传大于100M的也没重现。

爱莫能助。。。 能重现才能查

嗯嗯,谢谢wendal

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