You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Alexey Poruchikov (Jira)" <ji...@apache.org> on 2019/08/26 14:16:00 UTC
[jira] [Created] (FREEMARKER-119) TemplateException throws NPE
after deserialization
Alexey Poruchikov created FREEMARKER-119:
--------------------------------------------
Summary: 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: Alexey Poruchikov
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)