Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.2
-
None
-
Blocker
-
Servlet Service Framework - 1.0.0-RC1
-
Servlet Service Framework - 1.0.0-RC2-dev
Description
As Csaba Kazó pointed out in comment on COCOON-2106 StringTemplateParserVariableResolver doesn't implement Disposable interface. This may lead to following error:
java.lang.ClassCastException: org.apache.cocoon.components.treeprocessor.variables.StringTemplateParserVariableResolver cannot be cast to org.apache.avalon.framework.activity.Disposable
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.dispose(ConcreteTreeProcessor.java:333)
java.lang.ClassCastException: org.apache.cocoon.components.treeprocessor.variables.StringTemplateParserVariableResolver cannot be cast to org.apache.avalon.framework.activity.Disposable
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.dispose(ConcreteTreeProcessor.java:333)