You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/04/22 16:04:53 UTC

DO NOT REPLY [Bug 47371] EL expression parser error when getter methed return an empty string

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

gbt <gi...@atosorigin.com> changed:

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

--- Comment #2 from gbt <gi...@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