Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.9
-
None
Description
A NullPointerException occurs in AbstractMultiSend when useBatchMultiSend is false. This happens on line 241 of AstractMultiSend.java On "AbstractQueryProtocol.readScheduler.execute(futureReadTask);"
The reason is that readScheduler is not set in AbstractQueryProtocol constructor:
if (options.useBatchMultiSend && readScheduler == null) {
synchronized (AbstractQueryProtocol.class) {
if (readScheduler == null)
}
}
It looks as if there is no code to do synchronous batch in "executeBatchStandard". We have implemented a synchronous version, and are willing to contribute.