Author: toad
Date: 2009-01-24 21:15:12 +0000 (Sat, 24 Jan 2009)
New Revision: 25300
Modified:
branches/db4o/freenet/src/freenet/node/fcp/ClientRequest.java
Log:
Debug a wierd NPE
Modified: branches/db4o/freenet/src/freenet/node/fcp/ClientRequest.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/ClientRequest.java
2009-01-24 20:33:30 UTC (rev 25299)
+++ branches/db4o/freenet/src/freenet/node/fcp/ClientRequest.java
2009-01-24 21:15:12 UTC (rev 25300)
@@ -118,6 +118,8 @@
client = persistenceType == PERSIST_FOREVER ?
handler.getForeverClient(null) : handler.getRebootClient();
}
lowLevelClient = client.lowLevelClient;
+ if(lowLevelClient == null)
+ throw new NullPointerException("No lowLevelClient from
client: "+client+" global = "+global+" persistence = "+persistenceType);
}
if(client != null)
assert(client.persistenceType == persistenceType);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs