tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3577] New: NPE when DecodeInterceptor gets confused
Date Wed, 12 Sep 2001 21:43:25 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3577	Wed Sep 12 14:43:25 2001
--- shadow/3577.tmp.20389	Wed Sep 12 14:43:25 2001
***************
*** 0 ****
--- 1,47 ----
+ +============================================================================+
+ | NPE when DecodeInterceptor gets confused                                   |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3577                        Product: Tomcat 3                |
+ |       Status: NEW                         Version: 3.3 Beta 2              |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Solaris                 |
+ |     Priority: Other                     Component: Encoding                |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: tomcat-dev@jakarta.apache.org                                |
+ |  Reported By: william.barker@wilshire.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When DecodeInterceptor guesses the wrong charset (e.g guesses iso-latin-1 when 
+ it is really utf-8) you get the following:
+ 
+ java.lang.NullPointerException
+ 	at java.util.Hashtable.containsKey(Hashtable.java:299)
+ 	at org.apache.tomcat.util.http.Parameters.addParam(Parameters.java:321)
+ 	at org.apache.tomcat.util.http.Parameters.processParameters
+ (Parameters.java:395)
+ 	at org.apache.tomcat.core.Request.handlePostParameters(Request.java:436)
+ 	at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter
+ (HttpServletRequestFacade.java:255)
+ 	at BadServlet.doPost(BadServlet.java:14)
+ 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
+ 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
+ 	at org.apache.tomcat.facade.ServletHandler.doService
+ (ServletHandler.java:500)
+ 	at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
+ 	at org.apache.tomcat.core.Handler.service(Handler.java:235)
+ 	at org.apache.tomcat.facade.ServletHandler.service
+ (ServletHandler.java:448)
+ 	at org.apache.tomcat.core.ContextManager.internalService
+ (ContextManager.java:914)
+ 	at org.apache.tomcat.core.ContextManager.service
+ (ContextManager.java:831)
+ 	at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection
+ (Ajp13Interceptor.java:167)
+ 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
+ (PoolTcpEndpoint.java:477)
+ 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
+ (ThreadPool.java:517)
+ 	at java.lang.Thread.run(Thread.java:484)

Mime
View raw message