You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is when the doubling of the nioBuffers array is not enough to hold all the buffers. We need to double as long as it not fit in.
The following stacktrace happens when you try to call nioBuffers() and you have added 65+ messages to it before:
java.lang.ArrayIndexOutOfBoundsException: 64
at io.netty.channel.ChannelOutboundBuffer.fillBufferArray(ChannelOutboundBuffer.java:377)
at io.netty.channel.ChannelOutboundBuffer.nioBuffers(ChannelOutboundBuffer.java:357)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:236)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:680)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:266)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:488)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
at java.lang.Thread.run(Thread.java:722)
The text was updated successfully, but these errors were encountered:
The problem is when the doubling of the nioBuffers array is not enough to hold all the buffers. We need to double as long as it not fit in.
The following stacktrace happens when you try to call nioBuffers() and you have added 65+ messages to it before:
The text was updated successfully, but these errors were encountered: