freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko (JIRA)" <>
Subject [jira] [Created] (FREEMARKER-88) ClassCastException - freemarker.ext.jsp.JspTagModelBase
Date Sat, 03 Feb 2018 19:50:00 GMT
Marko created FREEMARKER-88:

             Summary: ClassCastException - freemarker.ext.jsp.JspTagModelBase
                 Key: FREEMARKER-88
             Project: Apache Freemarker
          Issue Type: Bug
          Components: jsp
    Affects Versions: 2.3.27-incubating
            Reporter: Marko
         Attachments: freemarker_88_01.jpg

calling jsp from ftl with an invalid reference is causing an _freemarker.core.InvalidReferenceException_ which
is not handled properly.

Caused by: java.lang.ClassCastException: freemarker.core.InvalidReferenceException cannot
be cast to freemarker.template.TemplateModelException
at freemarker.ext.jsp.JspTagModelBase.toTemplateModelExceptionOrRethrow(
at freemarker.ext.jsp.SimpleTagDirectiveModel.execute( ~[freemarker-2.3.27-incubating.jar:2.3.27]

This message was sent by Atlassian JIRA

View raw message