[ http://issues.apache.org/jira/browse/BEEHIVE-429?page=all ] Krista Baker closed BEEHIVE-429: --------------------------------
Verified that at least the warning is given that a null is encountered. The tag that did not evaluate should be able to be found on the page to resolve the problem from that warning. > appbash031005 - Improve error message for invalid expressions > ------------------------------------------------------------- > > Key: BEEHIVE-429 > URL: http://issues.apache.org/jira/browse/BEEHIVE-429 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1Beta > Reporter: David Madrid > Assignee: Krista Baker > Priority: Minor > Fix For: V1 > > - Improve the error message you get when you have an invalid expression that > resolves to null in one of your netui tags, such as <netui:content > value="${requestScopeWRONG.data.name}"/>. Here's the error message you get > in the console: > 10 Mar 2005 13:11:29,441 WARN Content []: Content: expression null > reso > lved to null, using empty string. > > - Test Case: > 1.- Create a JSP using the <netui:content> tag with a bad expression > value: > <netui:content value="${requestScopeMISSPELLED.data.name}"/> > 2.- When you hit the jsp from browser, the page is displayed fine (with > no value for the tag), but you get this error in the console: > "10 Mar 2005 13:11:29,441 WARN Content []: Content: expression null > reso > lved to null, using empty string." > > - Expected Results: > To help troubleshooting, it might be nice to have the error message > tell you what JSP it is referring to and where in the JSP the error is > occuring (line number). > - Actual Results: > You get the error message above. > - Root Cause: > UNKNOWN -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
