Error Message JBWEB006003 Cannot convert Y of type class java.lang.String to class java.lang.Long

Solution Verified - Updated -

Issue

  • The following error messages appears in the server.log file :
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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content