question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Protocolize] Exception occurred when reading ItemStack from buffer. Protocol version = 756

See original GitHub issue

Describe the bug Who know what happend :d

To Reproduce This happend allways when i click outside of inventory

Expected behavior

> 02:43:57 [WARNING] [Protocolize] Packet de.exceptionflug.protocolize.items.packet.WindowItems was not read successfully. Please look into protocolize.log for further details.

19:29:59 [SEVERE] [Protocolize] Exception occurred when reading ItemStack from buffer. Protocol version = 756
java.lang.IndexOutOfBoundsException: readerIndex(9) + length(1) exceeds writerIndex(9): UnpooledSlicedByteBuf(ridx: 9, widx: 9, cap: 9/9, unwrapped: PooledUnsafeDirectByteBuf(ridx: 11, widx: 11, cap: 11))
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1478)
	at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:732)
	at io.netty.buffer.AbstractByteBuf.readBoolean(AbstractByteBuf.java:741)
	at de.exceptionflug.protocolize.items.ItemStack.read(ItemStack.java:61)
	at de.exceptionflug.protocolize.inventory.packet.ClickWindow.read(ClickWindow.java:86)
	at net.md_5.bungee.protocol.DefinedPacket.read0(DefinedPacket.java:166)
	at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:90)
	at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:19)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:831)

And i have many this info. in protocolize.log (binary is changing):

Jul 10, 2021, 7:29:55 PM | Direction = TO_CLIENT | Version = 756 | Packet = de.exceptionflug.protocolize.items.packet.WindowItems (20) | Packet has 1 trailing bytes left
01 01 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 8f 01 40 00 00 00 00 00 00 00 

Proxy environment Bungee: Aegis 9.2.1

Plugins:

  • CMIB
  • DynamicBungeeAuth
  • ForceResourcePack
  • Geyser BuungeeCord
  • PL-Hide-Pro
  • protocolize (1.7.1)

Minecraft versions used Server: Purpur 1.17.1 buid 1260 i’m using vi version and viabackwards

Java 16

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ham1255commented, Jul 17, 2021

this was fixed in last commit but author didn’t release update on spigot

0reactions
Exceptionflugcommented, Jul 20, 2021

Small bugfixes are never posted as updates since there is no version number increase and the download link on spigotmc.org points always to the latest build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception occurred when reading ItemStack from buffer. Protocol ...
Hi, it happens all the time. It spams the console almost constantly. (filling in for Stixil) - We're using the latest stable versions...
Read more >
Protocolize - ProtocolLib for BungeeCord / Waterfall / Velocity
Version : 2.1.0. [05:58:53 ERROR]: [Protocolize] Exception caught in listener while sending packet net.md_5.bungee.protocol.packet.Commands.
Read more >
Minecraft - How to Fix Unsupported Protocol Verison - YouTube
A short tutorial on how to Fix the "Unsupported Protocol Version ___" error message for Minecraft.Leave a comment if you have any questions....
Read more >
protocolize - githubmemory
some error when sending included packet · [Protocolize] Exception occurred when reading ItemStack from buffer. Protocol version = 756.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found