[ 
https://issues.apache.org/jira/browse/FLINK-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Ewen resolved FLINK-1761.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9

Fixed in 380ef878c850f83b5e12176e465d59c737066e20 and 
925481fb1c88f3c45b289cdf5ef203190492031a

> 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
>             Fix For: 0.9
>
>
> 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)

Reply via email to