cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/transformation TraxTransformer.java
Date Tue, 06 May 2003 09:00:19 GMT
bruno       2003/05/06 02:00:19

  Modified:    src/java/org/apache/cocoon/transformation
                        TraxTransformer.java
  Log:
  fixed NPE in recycle()
  
  Revision  Changes    Path
  1.6       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/transformation/TraxTransformer.java
  
  Index: TraxTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/TraxTransformer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TraxTransformer.java	2 May 2003 15:25:23 -0000	1.5
  +++ TraxTransformer.java	6 May 2003 09:00:17 -0000	1.6
  @@ -498,7 +498,7 @@
           }
           this.resolver = null;
           this.par = null;
  -        if (this.finishedDocument == false) {
  +        if (this.finishedDocument == false && transformerHandler != null) {
               // This situation will only occur if an exception occured during pipeline execution.
               // If Xalan is used in incremental mode, it is important that endDocument is
called, otherwise
               // the thread on which it runs the transformation will keep waiting.
  
  
  

Mime
View raw message