java.util.NoSuchElementException: packet-encoder

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.util.NoSuchElementException: packet-encoder
at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1080)
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:251)
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:240)
at net.md_5.bungee.netty.ChannelWrapper.addBefore(ChannelWrapper.java:115)
at net.md_5.bungee.netty.ChannelWrapper.setCompressionThreshold(ChannelWrapper.java:127)
at net.md_5.bungee.UserConnection.setCompressionThreshold(UserConnection.java:613)
at net.md_5.bungee.connection.InitialHandler$6$1.run(InitialHandler.java:497)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago

Write tip

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