Avoid NPE
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 24 Oct 2010 13:02:24 +0000 (13:02 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 24 Oct 2010 13:02:24 +0000 (13:02 +0000)
Don't use exception.printStackTrace()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1026784 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/PersistentManagerBase.java

index 3d92395..8a7d3c8 100644 (file)
@@ -551,7 +551,7 @@ public abstract class PersistentManagerBase extends ManagerBase {
                     Exception exception = ex.getException();
                     log.error("Exception in the Store during load: "
                               + exception);
-                    exception.printStackTrace();                        
+                    return;
                 }
             } else {
                 ids = store.keys();