The PreparedStatement#executeBatch() functionality does not properly handle interrupts when the thread is interrupted while waiting on a response from the server.
The InterruptedException is currently being swallowed in AbstractMultiSend instead of being propagated back to the caller.
This manifested as a NullPointerException:
The NPE is due a race condition. The thread was interrupted so it is returning before the results are available