tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47371] EL expression parser error when getter methed return an empty string
Date Fri, 22 Apr 2011 14:04:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47371

gbt <gilles.bardouillet@atosorigin.com> changed:

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

--- Comment #2 from gbt <gilles.bardouillet@atosorigin.com> 2011-04-22 10:04:48 EDT
---
Even without string concatenation, you receive the NumberFormat exception with
the following expression : 

${4+currentRow['a'].cellValue}

With ${4+currentRow['b'].cellValue}, the result is OK.

Why the empty string test is placed after the String instance test inside the
method org.apache.el.lang.ELArithmetic.coerce ?

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message