Sam J.
Sam J.
AAdmincraft
Created by Sam J. on 9/16/2024 in #questions
random error resolution
[07:43:36 ERROR]: Error switching player connection to config state java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "com.velocitypowered.proxy.protocol.netty.MinecraftEncoder.setState(com.velocitypowered.proxy.protocol.StateRegistry)" because the return value of "io.netty.channel.ChannelPipeline.get(java.lang.Class)" is null at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.NullPointerException: Cannot invoke "com.velocitypowered.proxy.protocol.netty.MinecraftEncoder.setState(com.velocitypowered.proxy.protocol.StateRegistry)" because the return value of "io.netty.channel.ChannelPipeline.get(java.lang.Class)" is null at com.velocitypowered.proxy.connection.client.ConnectedPlayer.lambda$switchToConfigState$12(ConnectedPlayer.java:1285) ~[server.jar:3.3.0-SNAPSHOT (git-6100e675-b416)] at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] ... 9 more
21 replies