On 06/07/2010 18:20, Roxana wrote: > Hi, > > I have a problem that i don't understand and i hope you can help me with. > > I migrate from Tomcat 6.0.20 to Tomcat 6.0.26 and suddenly i get an > exception like this: > > 05-Jul-2010 16:22:50 org.apache.catalina.core.StandardWrapperValve invoke > SEVERE: Servlet.service() for servlet jsp threw exception > javax.el.ELException: Cannot convert CREATION_TIME of type class > com.docbox.tag.DocboxListColumn to class > com.owt.tag.ListContent.GenericListColumn > at org.apache.el.lang.ELSupport.coerceToEnum(ELSupport.java:155) > at org.apache.el.lang.ELSupport.equals(ELSupport.java:110) > at org.apache.el.parser.AstNotEqual.getValue(AstNotEqual.java:39) > at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) > at > org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935) > at > org.apache.jsp.owt.list_005fcontent_jsp._jspx_meth_c_005fwhen_005f1(list_005fcontent_jsp.java:876) > at > org.apache.jsp.owt.list_005fcontent_jsp._jspx_meth_c_005fchoose_005f1(list_005fcontent_jsp.java:846) > at > org.apache.jsp.owt.list_005fcontent_jsp._jspService(list_005fcontent_jsp.java:282) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > etc etc................................... > > > > What i don't understand is why, with the same code , Tomcat 6.0.20 didn't > complain. Is the type check in ELSupport stronger now? > In my case i try to compare two different enums: DocboxListColumn and > GenericListColumn, but they both implement interface ListColumn. > > I hope you can help me with an answer
Bit of a mystery without seeing the JSP content. p
signature.asc
Description: OpenPGP digital signature