Author: toad
Date: 2008-06-25 19:59:37 +0000 (Wed, 25 Jun 2008)
New Revision: 20711
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
Log:
Catch ClassCastException here (ugh). It happens with LAZY query eval mode.
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
===================================================================
---
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
2008-06-25 19:58:45 UTC (rev 20710)
+++
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
2008-06-25 19:59:37 UTC (rev 20711)
@@ -512,6 +512,12 @@
// FIXME find some way to get a
reproducible test case... I suspect it won't be easy :<
context.jobRunner.queue(preRegisterMeRunner, NativeThread.NORM_PRIORITY, true);
return;
+ } catch (ClassCastException t) {
+ // WTF?!?!?!?!?!
+ Logger.error(this, "DB4O thew
ClassCastException in hasNext(): "+t, t);
+ // FIXME find some way to get a
reproducible test case... I suspect it won't be easy :<
+
context.jobRunner.queue(preRegisterMeRunner, NativeThread.NORM_PRIORITY, true);
+ return;
}
long startNext = System.currentTimeMillis();
RegisterMe reg = (RegisterMe)
registerMeSet.next();