You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/24 17:38:53 UTC

DO NOT REPLY [Bug 7413] New: - java.io.CharConversionException om file upload, 4.0.4 Beta 2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7413

java.io.CharConversionException om file upload, 4.0.4 Beta 2

           Summary: java.io.CharConversionException om file upload, 4.0.4
                    Beta 2
           Product: Tomcat 4
           Version: 4.0.4 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bj@bredband.net


When trying to upload a file when Coyote is used as http connector the following
exception occurs:

java.io.CharConversionException: isHexDigit
        at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:124)
        at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:87)
        at
org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:407)
        at
org.apache.coyote.tomcat4.CoyoteRequest.parseRequestParameters(CoyoteRequest.java:1893)
        at
org.apache.coyote.tomcat4.CoyoteRequest.getParameterNames(CoyoteRequest.java:914)
        at
org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:165)
        at webadm.servlet.Webadm.getRequestProperties(Webadm.java:296)
.
etc.... for every character in in the uploaded file. 
The last line shown is in my servlet: 
   Enumeration enum = request.getParameterNames ();
The servlet is extending VelocityServlet (1.2). File upload works ok when I use
the old http1.1 connector.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>