luehe 2005/06/15 16:41:25 Modified: catalina/src/share/org/apache/catalina/session StandardSession.java Log: After deserializing a StandardSession, reinit its transient "listeners" and "notes" fields, to prevent NPEs when they are accessed. Revision Changes Path 1.58 +8 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java Index: StandardSession.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- StandardSession.java 31 Mar 2005 10:31:53 -0000 1.57 +++ StandardSession.java 15 Jun 2005 23:41:25 -0000 1.58 @@ -1393,6 +1393,13 @@ } isValid = isValidSave; + if (listeners == null) { + listeners = new ArrayList(); + } + + if (notes == null) { + notes = new HashMap(); + } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]