cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r410220 - /cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java
Date Tue, 30 May 2006 08:49:43 GMT
Author: antonio
Date: Tue May 30 01:49:43 2006
New Revision: 410220

URL: http://svn.apache.org/viewvc?rev=410220&view=rev
Log:
Fix COCOON-1744 NullPointerException in template block. Thanks to Tim Williams (williamstw@gmail.com).

Modified:
    cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java

Modified: cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java?rev=410220&r1=410219&r2=410220&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java
(original)
+++ cocoon/trunk/blocks/cocoon-template/cocoon-template-impl/src/main/java/org/apache/cocoon/template/TransformerAdapter.java
Tue May 30 01:49:43 2006
@@ -61,9 +61,9 @@
         }
 
         public void dispose() {
-            setParsingContext( null );
             this.manager.release(this.parsingContext.getInstructionFactory());
             this.manager.release(this.parsingContext.getStringTemplateParser());
+            setParsingContext(null);
         }
 
         public void endDocument() throws SAXException {



Mime
View raw message