Menu

#222 No detail message for StringIndexOutofBoundsException

2.3.21
closed-fixed
nobody
Parsing (33)
5
2014-10-12
2008-08-11
Nhan Phan
No

<#assign a=0>
a[2] = ${a[2]}
process this template will give out TemplateException with no detail message
I use Eclipse Java debugger and found fields in this Exception
detailMessage ""
causeException StringIndexOutofBoundsException
For end user, they will not know what's wrong in template file and how to fix it.

Discussion

  • Dániel Dékány

    • status: open --> open-fixed
    • Group: --> 2.3.21
     
  • Dániel Dékány

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.