print error stack exception
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
notice in the exception stack that this blows up when trying to print the exception.
java.lang.StringIndexOutOfBoundsException
at java.lang.StringBuffer.delete(StringBuffer.java:330)
at freemarker.template.Template.getSource(Template.java:488)
at freemarker.core.TemplateObject.getSource(TemplateObject.java:167)
at freemarker.core.DollarVariable.getDescription(DollarVariable.java:84)
at freemarker.core.Environment.outputInstructionStack(Environment.java:1081)
at freemarker.template.TemplateException.<init>(TemplateException.java:137)
at freemarker.template.TemplateException.<init>(TemplateException.java:106)
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
Logged In: YES
user_id=52489
Originator: NO
Hi,
could you provide us with a reproducible testcase? A template file + Java code trying to render it would be sufficient.
Not enough info to reproduce... if the bug still exists anyway.