https://bz.apache.org/bugzilla/show_bug.cgi?id=60820
Bug ID: 60820 Summary: ClassCastException in method request.getParameter Product: Tomcat 8 Version: 8.0.38 Hardware: PC OS: Linux Status: NEW Severity: critical Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: vivek_na...@yahoo.co.in Target Milestone: ---- Hi, We are getting the following exception stacktrace while calling getParameter method in servlet request object, java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String; at org.apache.catalina.core.ApplicationHttpRequest.getParameter(ApplicationHttpRequest.java:371) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:153) Seeing the source code for tomcat 8.0.38 we see some changes to the getParameter method. When the catalina code is doing parameter.get(name) the return value is a String which is being taken in a String[] I see the parseParameter() method call before this but is this a case that method fails for some scenarios? The query parameter for which it is failing in p=<someSimpleContiniousString> which in any case is not an Array. Please note, we are running our application in liferay 6.2.14 and tomcat 8.0.38 in jdk 8. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org