You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/06 16:31:39 UTC
DO NOT REPLY [Bug 17728] -
EvalHelper should not throw NullAttributeException, it's too slow
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17728>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17728
EvalHelper should not throw NullAttributeException, it's too slow
martinc@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From martinc@apache.org 2003-03-06 15:31 -------
You are misundersanding what evalNotNull() does. A NullAttributeException is
thrown only if a value *is* specified for the attribute, and that value is an
expression that evaluates to null. If no value is specified for the attribute,
evalNotNull() does *not* throw an exception, it simply returns null.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org