You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Daniel Dekany (Jira)" <ji...@apache.org> on 2019/09/15 16:58:00 UTC

[jira] [Commented] (FREEMARKER-119) TemplateException throws NPE after deserialization

    [ https://issues.apache.org/jira/browse/FREEMARKER-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930007#comment-16930007 ] 

Daniel Dekany commented on FREEMARKER-119:
------------------------------------------

Quick googling didn't reveal to me what would substitute {{TemplateException.readObject}} (i.e., customized deserialization) with Hessian/Burlap. If you can research that, it will be far more likely that this will be fixed. (I have to prioritize.)

> 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
>
> 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.2#803003)