Skip to content

Instantly share code, notes, and snippets.

@leafypout
Created June 3, 2019 08:01
Show Gist options
  • Save leafypout/c639a8c752317d3f657e99972d4c9f11 to your computer and use it in GitHub Desktop.
Save leafypout/c639a8c752317d3f657e99972d4c9f11 to your computer and use it in GitHub Desktop.
State is now HANDSHAKING
Jun 03, 2019 7:54:19 PM io.netty.channel.DefaultChannelHandlerContext invokeExceptionCaught
WARNING: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:263)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:131)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480)
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:748)
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160)
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:562)
at net.minecraft.network.PacketBuffer.readByte(PacketBuffer.java:560)
at net.minecraft.network.PacketBuffer.readVarIntFromBuffer(PacketBuffer.java:53)
at net.minecraft.network.PacketBuffer.readStringFromBuffer(PacketBuffer.java:169)
at net.minecraft.network.status.server.S00PacketServerInfo.readPacketData(S00PacketServerInfo.java:33)
at net.minecraft.util.MessageDeserializer.decode(MessageDeserializer.java:47)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:232)
... 16 more
[19:54:39] [Client thread/ERROR]: Can't ping localhost:25566: Timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment