ProtocolLib

3M Downloads

channel not registered to an event loop

YodaZen opened this issue ยท 0 comments

commented
  • This issue is not solved in a development build

Describe the bug
I get this error when restarting/stopping my server!

[23:16:41 ERROR]: Error occurred (in the plugin loader) while disabling ProtocolLib v5.3.0 (Is it up to date?)
java.lang.IllegalStateException: channel not registered to an event loop
        at io.netty.channel.AbstractChannel.eventLoop(AbstractChannel.java:164) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.uninject(NettyChannelInjector.java:217) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.close(NettyChannelInjector.java:242) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.injector.netty.channel.InjectionFactory.close(InjectionFactory.java:281) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.close(NetworkManagerInjector.java:156) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.injector.PacketFilterManager.close(PacketFilterManager.java:468) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.ProtocolLib.onDisable(ProtocolLib.java:560) ~[ProtocolLib.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:283) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:224) ~[paper-1.19.4.jar:git-Paper-550]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:148) ~[paper-1.19.4.jar:git-Paper-550]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:92) ~[paper-1.19.4.jar:git-Paper-550]
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:528) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.disablePlugins(CraftServer.java:494) ~[paper-1.19.4.jar:git-Paper-550]
        at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:947) ~[paper-1.19.4.jar:git-Paper-550]
        at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:804) ~[paper-1.19.4.jar:git-Paper-550]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) ~[paper-1.19.4.jar:git-Paper-550]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-550]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]
        ```

**To Reproduce**
I just restarted an noticed that error

**Expected behavior**
Whatever the error is 'erroring' to not happen.


**Version Info**
[Pastebin](https://pastebin.com/bvzckuwc)