Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-09-03 21:31:08 -0400
committerJan Bartel2014-09-03 21:31:08 -0400
commit51715dbcdb65b573633011e0f2e9746d1f324988 (patch)
tree124e52d01b445e755cb814e4dea75c53bf7aefa7 /jetty-server
parenta1587d807ed77b25b4be2a54e0b709ba180b232d (diff)
downloadorg.eclipse.jetty.project-51715dbcdb65b573633011e0f2e9746d1f324988.tar.gz
org.eclipse.jetty.project-51715dbcdb65b573633011e0f2e9746d1f324988.tar.xz
org.eclipse.jetty.project-51715dbcdb65b573633011e0f2e9746d1f324988.zip
443231 java.lang.NullPointerException on scavenge scheduling when session id manager declared before shared scheduler
Diffstat (limited to 'jetty-server')
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
index 535dc5f02e..434cf9dfde 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
@@ -992,6 +992,8 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager
_ownScheduler = true;
_scheduler.start();
}
+ else if (!_scheduler.isStarted())
+ throw new IllegalStateException("Shared scheduler not started");
setScavengeInterval(getScavengeInterval());
}

Back to the top