Error Message JBWEB006003 Cannot convert Y of type class java.lang.String to class java.lang.Long
Issue
- The following error messages appears in the
server.logfile :
18:14:29,605 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/AppName].[jsp]] (ajp-/0.0.0.0:8009-18) JBWEB000236: Servlet.service() for servlet jsp threw exception: javax.el.ELException: JBWEB006003: Cannot convert Y of type class java.lang.String to class java.lang.Long
at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:298) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:278) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.lang.ELSupport.equals(ELSupport.java:144) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.parser.AstEqual.getValue(AstEqual.java:40) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:958) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.jsp.WEB_002dINF.jsp.package.pageName_jsp._jspService(pageName_jsp.java:1234)
- Is this caused by some missing dependencies?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
