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

--- Comment #26 from Adam Hardy <adam.ha...@cyberspaceroad.com> 2009-12-11 
07:09:30 UTC ---
Created an attachment (id=24692)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24692)
zip containing JSP, TLD and java file

I came across this bug today - at least it looks a lot like it. 

If I try to pass in a null to the function, it falls over giving me the
following:

java.lang.IllegalArgumentException: Cannot convert 0 of type class
java.lang.Long to class java.lang.Number
    org.apache.el.lang.ELSupport.coerceToNumber(ELSupport.java:250)

Which is at best misleading and at worst, just the wrong way to handle nulls.
Hopefully this is reproducible everywhere.

-- 
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