This commit is contained in:
asiekierka 2014-10-19 11:00:01 +02:00
parent 9686830173
commit 3706cc3148

View file

@ -334,6 +334,13 @@ public final class RPCHandler {
} }
private void internalRpcReceive (Object o, RPCMessageInfo info, ByteBuf data) { private void internalRpcReceive (Object o, RPCMessageInfo info, ByteBuf data) {
if (data.readableBytes() <= 0) {
// This seems to happen from time to time on the client side.
// TODO: Find out why. (Someone suggests WAILA might have something to do
// with it)
return;
}
try { try {
short methodIndex = data.readShort(); short methodIndex = data.readShort();