I'm not entirely sure why at this point but it is possible to throw a Null Pointer Exception when processingCompletedReceives. This happens when a fairly substantial number of simultaneously initiated connections are initiated with the server.
The processor thread does carry on but it may be worth investigating how the channel could be both closed and completedReceives.
The NPE in question is thrown here:
It can not be consistently reproduced either.