Ufuk Celebi created FLINK-1761: ---------------------------------- Summary: IndexOutOfBoundsException when receiving empty buffer at remote channel Key: FLINK-1761 URL: https://issues.apache.org/jira/browse/FLINK-1761 Project: Flink Issue Type: Bug Components: Distributed Runtime Affects Versions: master Reporter: Ufuk Celebi Assignee: Ufuk Celebi
Receiving buffers from remote input channels with size 0 results in an {{IndexOutOfBoundsException}}. {code} Caused by: java.lang.IndexOutOfBoundsException: index: 30 (expected: range(0, 30)) at io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1123) at io.netty.buffer.PooledUnsafeDirectByteBuf.getBytes(PooledUnsafeDirectByteBuf.java:156) at io.netty.buffer.PooledUnsafeDirectByteBuf.getBytes(PooledUnsafeDirectByteBuf.java:151) at io.netty.buffer.SlicedByteBuf.getBytes(SlicedByteBuf.java:179) at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:717) at org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandler.decodeBufferOrEvent(PartitionRequestClientHandler.java:205) at org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandler.decodeMsg(PartitionRequestClientHandler.java:164) at org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandler.channelRead(PartitionRequestClientHandler.java:118) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)