DecentSoftware-eu / DecentHolograms

A lightweight but powerful hologram plugin with many features and configuration options.
https://www.spigotmc.org/resources/96927/
GNU General Public License v3.0
211 stars 100 forks source link

Failed to modify player's pipeline. (NoSuchElementException/packet_handler) #219

Open andrewkm opened 4 months ago

andrewkm commented 4 months ago

Just making sure

Reproduction

Looks to happen immediately after the player's login, Unknown reproduction.

[17:36:00] [Netty Server IO #1/WARN]: [DecentHolograms] Failed to modify player's pipeline. (AusRoona)
java.util.NoSuchElementException: packet_handler
    at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:248) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:237) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at DecentHolograms-2.8.9.jar/eu.decentsoftware.holograms.api.nms.PacketListener.lambda$hook$0(PacketListener.java:30) ~[DecentHolograms-2.8.9.jar:?]
    at DecentHolograms-2.8.9.jar/eu.decentsoftware.holograms.api.nms.PacketListener.executeOnPipeline(PacketListener.java:52) ~[DecentHolograms-2.8.9.jar:?]
    at DecentHolograms-2.8.9.jar/eu.decentsoftware.holograms.api.nms.PacketListener.lambda$executeOnPipeline$2(PacketListener.java:54) ~[DecentHolograms-2.8.9.jar:?]
    at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]

Solution

No response

Server Version

Paper version 1.20.6-147-ver/1.20.6@e41d44f

Client Version

Cannot detect the player's client version nor are they available to ask.

Plugin Version

2.8.9 - Compiled against (https://github.com/DecentSoftware-eu/DecentHolograms/commit/24af34072820f735efef2c1c62bb8e34b55fd845)

Log

https://pastebin.com/raw/bC0MWxUV

d0by1 commented 2 months ago

Hi, I've added additional details to the log message associated with this error in DH 2.8.10. Could you please test the issue in this new version and share the updated log message with me? Thanks!

IAISI commented 1 week ago

Still an issue on

> ver DecentHolograms
[22:34:48 INFO]: DecentHolograms version 2.8.11
[22:34:48 INFO]: A lightweight yet very powerful hologram plugin with many features and configuration options.
[22:34:48 INFO]: Author: d0by

and latest Paper 1.21.1

[22:24:32] [Netty Epoll Server IO #2/WARN]: [DecentHolograms] Failed to modify player's pipeline. player: PlayerName, availableElements: [DefaultChannelPipeline$TailContext#0]
java.util.NoSuchElementException: packet_handler
    at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:248) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:237) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    at DecentHolograms.jar/eu.decentsoftware.holograms.api.nms.PacketListener.lambda$hook$0(PacketListener.java:32) ~[DecentHolograms.jar:?]
    at DecentHolograms.jar/eu.decentsoftware.holograms.api.nms.PacketListener.executeOnPipeline(PacketListener.java:54) ~[DecentHolograms.jar:?]
    at DecentHolograms.jar/eu.decentsoftware.holograms.api.nms.PacketListener.lambda$executeOnPipeline$2(PacketListener.java:56) ~[DecentHolograms.jar:?]
    at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) ~[netty-transport-classes-epoll-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[22:24:32] [Server thread/INFO]: PlayerName lost connection: Disconnected

Also using ViaVersion, ViaBackwards and ViaRewind