cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2.1] NPE fix in certain conditions in ServerPagesGenerator.java
Date Wed, 10 Oct 2001 09:31:26 GMT
Thanks for your patch Ovidiu.

It's applied.


Carsten 

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de 
================================================================


> -----Ursprungliche Nachricht-----
> Von: ovidiu@orion.rgv.hp.com [mailto:ovidiu@orion.rgv.hp.com]Im Auftrag
> von Ovidiu Predescu
> Gesendet: Dienstag, 9. Oktober 2001 23:48
> An: cocoon-dev@xml.apache.org
> Betreff: [C2.1] NPE fix in certain conditions in
> ServerPagesGenerator.java
> 
> 
> This fixes some problems in ServerPagesGenerator.java.
> 
> diff -ruN -x *CVS* -x *build* -x *ChangeLog* -x *README.hp* -I 
> \$Id:.*\$ -I \$Revision:.*\$ -I \$Author:.*\$ 
> xml-cocoon2/src/org/apache/cocoon/generation/ServerPagesGenerator.
> java Cocoon2/src/org/apache/cocoon/generation/ServerPagesGenerator.java
> --- 
> xml-cocoon2/src/org/apache/cocoon/generation/ServerPagesGenerat
> or.java	Wed Aug 22 15:26:36 2001
> +++ 
> Cocoon2/src/org/apache/cocoon/generation/ServerPagesGenerator.j
> ava	Mon Oct  8 11:49:59 2001
> @@ -441,7 +441,8 @@
>          if (generator != null)
>              programGenerator.release(generator);
>          this.generator = null;
> -        this.inputSource.recycle();
> +        if (inputSource != null)
> +          this.inputSource.recycle();
>          this.inputSource = null;
>          this.eventStack.clear();
>      }
> 
> 
> Greetings,
> -- 
> Ovidiu Predescu <ovidiu@cup.hp.com>
> http://orion.rgv.hp.com/ (inside HP's firewall only)
> http://sourceforge.net/users/ovidiu/ (my SourceForge page)
> http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, 
> other stuff)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message