freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Poruchikov (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FREEMARKER-119) TemplateException throws NPE after deserialization
Date Sun, 06 Oct 2019 15:42:00 GMT

     [ https://issues.apache.org/jira/browse/FREEMARKER-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Poruchikov updated FREEMARKER-119:
---------------------------------------
    Attachment: TemplateException_test2.hessian

> TemplateException throws NPE after deserialization
> --------------------------------------------------
>
>                 Key: FREEMARKER-119
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-119
>             Project: Apache Freemarker
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 2.3.27-incubating, 2.3.29
>            Reporter: Alex Poruchikov
>            Priority: Major
>         Attachments: InvalidReferenceExceptionHessianDeserializer.java, TemplateExceptionDeserializerTest.java,
TemplateException_test2.hessian
>
>
> freemarker.template.TemplateException cannot be deserealized properly, because of transient
field "lock", used in getMessage() method. See line 441 in TemplateException.java.
> It throws NPE when getMessage() method is called on deserialized object.
> Problem appears, at least, with Hessian and Burlap serialization protocols from Caucho.com.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message