Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when tabbing commands i get kicked and error in console #62

Closed
Twi5TeD opened this issue Jul 17, 2016 · 15 comments
Closed

when tabbing commands i get kicked and error in console #62

Twi5TeD opened this issue Jul 17, 2016 · 15 comments

Comments

@Twi5TeD
Copy link

Twi5TeD commented Jul 17, 2016

io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): SlicedAbstractByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 128))
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
    at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:961)
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:386)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:302)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): SlicedAbstractByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 128))
    at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1413)
    at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:687)
    at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:100)
    at net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:90)
    at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:36)
    at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:10)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
    ... 25 more
@fuzzybot
Copy link
Contributor

client version?

server version?

bungee command or bukkit command?

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

client version 1.8.9

server version latest waterfall version and spigot version spigot 1.8.8

bukkit commands only from what i see anyway i've tried a couple bungee commands and couple bukkit ones :)

@fuzzybot
Copy link
Contributor

please put a full log file into a pastebin.

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

@fuzzybot
Copy link
Contributor

remove all of the bungeecord plugins and reproduce the error.

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

i deleted all plugins and got the same error

@fuzzybot
Copy link
Contributor

what plugins do you have on the spigot side

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

i tried on a server with no plugins just the spigot version i said above

@fuzzybot
Copy link
Contributor

okay, i am going to setup a test instance to try it with these parameters:

latest waterfall build
latest spigot 1.8.8 build
no plugins in either.

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

yep that's what i have tried :)

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 17, 2016

its only just started happening when i updated to latest waterfall

@Twi5TeD
Copy link
Author

Twi5TeD commented Jul 20, 2016

did you find a fix?

@Techcable
Copy link
Contributor

I've added new debug-checks to the latest waterfall that should print the hex-contents of the packet when it errors. Could you please try and reproduce the error again in the latest build?

@Twi5TeD
Copy link
Author

Twi5TeD commented Sep 17, 2016

i found out what the error was coming from it was a spigot side plugin called ezprotector :)

@jamierocks
Copy link
Contributor

i found out what the error was

I assume from the above statement, the issue is resolved. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants