upload is stalling if file size exceeds limit
---------------------------------------------

                 Key: MRM-1048
                 URL: http://jira.codehaus.org/browse/MRM-1048
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.2-M1
            Reporter: Tomasz Pik


When uploading (using web interace)  file bigger then max upload file limit 
browser is handling (waiting for response) and in server logs I can read:
[#|2008-12-18T01:30:39.415-0700|SEVERE|sun-appserver9.1|org.apache.struts2.dispatcher.multipart.MultiPartRequest|_ThreadID=59;_ThreadName=httpSSLWorkerThread-8282-12;_RequestID=d94472f6-52f7-49b9-a2f5-388beca13572;|org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
 the request was rejected because its size (15692801) exceeds the configured 
maximum (2097152)|#]

[#|2008-12-18T01:30:39.431-0700|SEVERE|sun-appserver9.1|org.apache.struts2.interceptor.FileUploadInterceptor|_ThreadID=59;_ThreadName=httpSSLWorkerThread-8282-12;_RequestID=d94472f6-52f7-49b9-a2f5-388beca13572;|the
 request was rejected because its size (15692801) exceeds the configured 
maximum (2097152)|#]

[#|2008-12-18T01:30:40.590-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=59;_ThreadName=httpSSLWorkerThread-8282-12;_RequestID=d94472f6-52f7-49b9-a2f5-388beca13572;|StandardWrapperValve[default]:
 PWC1406: Servlet.service() for servlet default threw exception
java.lang.NullPointerException
        at 
org.apache.maven.archiva.common.utils.VersionUtil.isVersion(VersionUtil.java:92)
        at 
org.apache.maven.archiva.web.action.UploadAction.validate(UploadAction.java:597)
        at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:200)
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
        at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
        at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
                                                                                
                   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to