Hi , While upgrading from tomcat 8.0.18 to tomcat 8.0.30 version ,we are facing the below issue .The displaytag version used by the application is DisplayTag 1.1
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.ClassCastException: java.lang.Integer cannot be cast to [Ljava.lang.String; at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:905) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:838) at org.apache.jsp.WEB_002dINF.jsp.referencedata.ChargingPriceReductionTab_jsp._jspService(ChargingPriceReductionTab_jsp.java:661) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) ... 46 more *Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to [Ljava.lang.String; at org.apache.catalina.core.ApplicationHttpRequest.getParameter(ApplicationHttpRequest.java:369)* at org.displaytag.util.DefaultRequestHelper.getParameterMap(DefaultRequestHelper.java:128) at org.displaytag.util.DefaultRequestHelper.getHref(DefaultRequestHelper.java:75) at com.x.ccb.cfw.wcs.uitemplates.taglib.displaytag.ExtendedRequestHelper.getHref(ExtendedRequestHelper.java:186) at org.displaytag.tags.TableTag.initHref(TableTag.java:1061) at com.x.ccb.cfw.wcs.uitemplates.taglib.displaytag.TableTag.initHref(TableTag.java:666) at org.displaytag.tags.TableTag.initParameters(TableTag.java:866) at org.displaytag.tags.TableTag.doStartTag(TableTag.java:722) at com.x.ccb.cfw.wcs.uitemplates.taglib.displaytag.TableTag.doStartTag(TableTag.java:712) at org.apache.jsp.WEB_002dINF.jsp.referencedata.ChargingPriceReductionTab_jsp$Helper.invoke2(ChargingPriceReductionTab_jsp.java:2577) at org.apache.jsp.WEB_002dINF.jsp.referencedata.ChargingPriceReductionTab_jsp$Helper.invoke(ChargingPriceReductionTab_jsp.java:2732) What i could understand is application is throwing exception due to change in the getParameter method of ApplicationHttpRequest class ,which earlier was accepting all datatypes (like Integer) is now restricted to 'String' datatype only . Kindly let me know why this change has been done ( in the getParameter method of ApplicationHttpRequest class) and the suggest me the path forward for fixing the issue. Thanks & Regards, Adhavan.M