diff --git a/web/webkit/src/main/scala/net/liftweb/http/SessionMaster.scala b/web/webkit/src/main/scala/net/liftweb/http/SessionMaster.scala index 8af0f4855e..d48e62a741 100644 --- a/web/webkit/src/main/scala/net/liftweb/http/SessionMaster.scala +++ b/web/webkit/src/main/scala/net/liftweb/http/SessionMaster.scala @@ -199,7 +199,7 @@ object SessionMaster extends LiftActor with Loggable { def isDead(sessionId: String): Boolean = killedSessions.containsKey(sessionId) private val reaction: PartialFunction[Any, Unit] = { - case RemoveSession(sessionId) => + case RemoveSession(sessionId) if sessionId != null => val ses = lockRead(nsessions) (Box !! ses.get(sessionId)).foreach {