https://issues.apache.org/bugzilla/show_bug.cgi?id=43656


Luke Kolin <l...@sce.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #16 from Luke Kolin <l...@sce.net> 2009-08-15 11:43:16 PDT ---
This does not appear to be fixed, but I'm not sure if the problem rests with
the code here or JSPC. I get the following error when executing a JSP:

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

java.lang.IllegalArgumentException

org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:250)
org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:257)
org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:351)
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:188)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
org.deltava.jsp.admin.diagnostics_jsp._jspx_meth_fmt_005fint_005f8(diagnostics_jsp.java)
org.deltava.jsp.admin.diagnostics_jsp._jspx_meth_el_005ftable_005f0(diagnostics_jsp.java)


Looking at the the method call, I see this in the JSP source:

_jspx_th_fmt_005fint_005f8.setValue((java.lang.Number)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${mapsAPIUsage}",
java.lang.Number.class, (PageContext)_jspx_page_context, null, false));

The ELSupport.coerceToNumber(Number, Class) method appears to fail if the Class
specified is java.lang.Number; there's no way it can execute without throwing
an exception.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to