struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject null actionerror causes freemarker error
Date Sun, 23 Sep 2007 21:44:11 GMT
I stumbled across a nasty glitch by coding this seemingly harmless error 
handling in my action:


which in the ActionErrorTag's freemarker template causes this:

Expression error is undefined on line 4, column 50 in 
The problematic instruction:
==> ${error} [on line 4, column 48 in template/simple/actionerror.ftl]

The problem arises when it's a NullPointerException. There's a related Jira 
issue (marked as fixed) for Field Errors:

Shall I reopen this or is it considered a developer error?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message