java.lang.IllegalArgumentException: Cannot convert 0 of type class java.lang.Long to class java.lang.Number

Solution Verified - Updated -

Issue

  • The following errors are observed in the server.log/catalina.out:

    java.lang.IllegalArgumentException: Cannot convert 0 of type class java.lang.Long to class java.lang.Number
        at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:250)
        at org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:257)
        at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:351)
        at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:188)
    

Environment

  • JBoss Enterprise Web Server (EWS) 1.0.0
  • JBoss Enterprise Application Platform (EAP) 4.3, 5.1.1 and prior versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In