java.lang.Throwable: Using a io.netty.buffer.UnpooledUnsafeHeapByteBuf, not a direct byte buf!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ningwang747
, 1 year ago
Using a io.netty.buffer.UnpooledUnsafeHeapByteBuf, not a direct byte buf!
via GitHub by hunter688
, 2 months ago
Using a io.netty.buffer.PooledUnsafeHeapByteBuf, not a direct byte buf!
via GitHub by k-jiang
, 6 months ago
Using a io.netty.buffer.PooledUnsafeHeapByteBuf, not a direct byte buf!
via GitHub by k-jiang
, 7 months ago
Using a io.netty.buffer.PooledUnsafeHeapByteBuf, not a direct byte buf!
via GitHub by Kurimatzu
, 9 months ago
Using a io.netty.buffer.PooledUnsafeHeapByteBuf, not a direct byte buf!
via GitHub by ghost
, 1 year ago
Using a io.netty.buffer.PooledUnsafeHeapByteBuf, not a direct byte buf!
java.lang.Throwable: Using a io.netty.buffer.UnpooledUnsafeHeapByteBuf, not a direct byte buf!
at net.md_5.bungee.protocol.Varint21FrameDecoder.decode(Varint21FrameDecoder.java:54)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
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 protocolsupport.protocol.listeners.initial.InitialPacketDecoder.setProtocol(InitialPacketDecoder.java:111)
at protocolsupport.protocol.listeners.initial.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:90)
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:967)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.