Prevent NPE:
I 2009/02/20 15:15:56 PLASMA check for Session_77.37.19.225:38812#0: 86515 ms alive, stopping thread
I 2009/02/20 15:15:56 PLASMA Closing main socket of thread 'Session_77.37.19.225:38812#0'
E 2009/02/20 15:15:56 SERVER receive interrupted - exception 2 = Socket closed
Exception in thread "Session_77.37.19.225:38812#0" java.lang.NullPointerException
at de.anomic.server.serverCore$Session.run(serverCore.java:623)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5624 6c8d7289-2bf4-0310-a012-ef5d649a1542
// immediatly close connection if too much sessions are still running
if(log.isFinest())this.log.logFinest("* connections exceeding limit, closing new incoming connection from "+controlSocket.getRemoteSocketAddress());
if(this.log.isFinest())this.log.logFinest("* connections exceeding limit, closing new incoming connection from "+controlSocket.getRemoteSocketAddress());
controlSocket.close();
returnfalse;
}
@ -620,7 +620,7 @@ public final class serverCore extends serverAbstractBusyThread implements server