cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom FOM_JavaScriptInterpreter.java
Date Thu, 14 Aug 2003 21:48:40 GMT
sylvain     2003/08/14 14:48:40

  Modified:    src/java/org/apache/cocoon/components/flow/javascript/fom
                        FOM_JavaScriptInterpreter.java
  Log:
  Fix NPE occuring when a script source does not exist
  
  Revision  Changes    Path
  1.7       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
  
  Index: FOM_JavaScriptInterpreter.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FOM_JavaScriptInterpreter.java	6 Aug 2003 15:37:18 -0000	1.6
  +++ FOM_JavaScriptInterpreter.java	14 Aug 2003 21:48:40 -0000	1.7
  @@ -576,7 +576,7 @@
                   throw new CascadingRuntimeException(ee.getMessage(), ee);
               } finally {
                   updateSession(environment, thrScope);
  -                cocoon.invalidate();
  +                if (cocoon != null) cocoon.invalidate();
                   Context.exit();
               }
           }
  
  
  

Mime
View raw message