
[BUG] After getting kicked from a server, the next leave doesnt correctly remove you from the server
456dev opened this issue · 10 comments
Bug
Description
when disconnecting after previously being kicked, the player doesn't correctly disconnect for the server
this causes hangs with the integrated server
reproduction
Steps
- join a server
- get kicked from the server
- join (the same or another) server, or single player world
- leave the world
- observe how in multiplayer, the previous kick message is displayed, and the singleplayer console is spammed
- observe how in the multiplayer console, the player is still logged in (
list
), and there is no disconnect message - observe how in singleplayer, the game freezes, needing to be closed externally
versions
client
[email protected]+1.17
[email protected]+a02b446318
[email protected]+2b5c62d018
[email protected]+c345aea818
[email protected]+a02b446318
[email protected]+5ab9934c18
[email protected]+92519afa18
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+be9da31018
[email protected]+6cefd57718
[email protected]+a02b446318
[email protected]+a722d8c018
[email protected]+92519afa18
[email protected]+6cefd57718
[email protected]+a02b446318
[email protected]+b7ab612118
[email protected]+a02b446318
[email protected]+36b77c3e18
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+92519afa18
[email protected]+a02b446318
[email protected]+6cefd57718
[email protected]+a02b446318
[email protected]+92519afa18
[email protected]+b7ab612118
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+e2961fee18
[email protected]+5f02c96918
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+92519afa18
[email protected]+a02b446318
[email protected]+a00e834b18
[email protected]+155f865c18
[email protected]+a02b446318
[email protected]+5ab9934c18
[email protected]+a02b446318
[email protected]+a02b446318
[email protected]+b7ab612118
[email protected]+3fe3c3f518
[email protected]
java@16
[email protected]
[email protected]+1.17.1
server
(but it should be unrelated, since it can be done in single player)
[18:08:46 INFO]: Checking version, please wait...
[18:08:47 INFO]: This server is running Paper version git-Paper-157 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: f521a18)
You are 9 version(s) behind
Same issue and after client freezing it ends up showing the kick message last time even you clicked on disconnect.
Client:
- Minecraft 1.17.1
- Fabric loader 0.11.6
- Fabric API 0.37.2
- Seamless Loading Screen 1.3.6
And client log:
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_638.method_8469(int)" because "this.field_3699" is null
at net.minecraft.class_634.method_11086(class_634.java:487) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2777.method_11922(class_2777.java:49) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2777.method_11054(class_2777.java:7) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_18859(class_1255.java:151) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_16075(class_1255.java:125) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_5383(class_1255.java:110) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1075) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:728) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.client.main.Main.main(Main.java:217) [intermediary-minecraft-1.17.1-client.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
[09:45:21] [Render thread/FATAL]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_24367()" because "???" is null
at net.minecraft.class_1308.<init>(class_1308.java:124) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1314.<init>(class_1314.java:12) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1588.<init>(class_1588.java:30) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1642.<init>(class_1642.java:93) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1299.method_5883(class_1299.java:475) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1299.method_5886(class_1299.java:493) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1299.method_5889(class_1299.java:480) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_634.method_11138(class_634.java:792) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2610.method_11217(class_2610.java:85) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2610.method_11054(class_2610.java:13) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_18859(class_1255.java:151) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_16075(class_1255.java:125) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_5383(class_1255.java:110) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1075) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:728) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.client.main.Main.main(Main.java:217) [intermediary-minecraft-1.17.1-client.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
[09:45:21] [Render thread/FATAL]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_638.method_8469(int)" because "this.field_3699" is null
at net.minecraft.class_634.method_11093(class_634.java:457) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2739.method_11808(class_2739.java:39) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2739.method_11054(class_2739.java:11) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_18859(class_1255.java:151) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_16075(class_1255.java:125) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_1255.method_5383(class_1255.java:110) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1075) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:728) [intermediary-minecraft-1.17.1-client.jar:?]
at net.minecraft.client.main.Main.main(Main.java:217) [intermediary-minecraft-1.17.1-client.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?]
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
Full log: Google Drive
Exactly the same issue. I thought it was AutoReconnect doing it, but I was apparently wrong. This mod seems so harmless, and it's so nice, I wish this didn't happen.
Confirm x2, using latest version of this mod on 1.17, latest Fabric API version, and latest Fabric and Minecraft version (1.17.1).
It does this logout thing, then it zucks the game, and spams this error into the log,
[21:09:51] [Render thread/FATAL]: Error executing task on Client java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_8469(int)" because "☃" is null at net.minecraft.class_2726.method_11786(class_2726.java:35) ~[intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_634.method_11139(class_634.java:538) ~[intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_2726.method_11788(class_2726.java:31) ~[intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_2726.method_11054(class_2726.java:9) ~[intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_1255.method_18859(class_1255.java:151) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_1255.method_16075(class_1255.java:125) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_1255.method_5383(class_1255.java:110) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_310.method_1523(class_310.java:1075) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.class_310.method_1514(class_310.java:728) [intermediary-minecraft-1.17.1-client.jar:?] at net.minecraft.client.main.Main.main(Main.java:217) [intermediary-minecraft-1.17.1-client.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?] at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] [21:09:51] [Render thread/FATAL]: Error executing task on Client java.lang.NullPointerException: null
wasting log file space at an alarming rate. I had this running for around 5 minutes, and my log file became over 50 mb. Imagine if you just kept playing like nothing happened. I'm lucky I noticed it, but someone else might not, and this is a pretty mod-breaking feature.
This is only a small portion of my log file, and there's tons more. This could become very bad if it doesn't get fixed soon.
@Minenash, are you alive?
Also experiancing this, on 1.18.1 when I leave the server the player isn't properly removed from the server and stays on it and can drown or be killed by zombie. So with the mod you actually can't disconnect from the server. Hope for 1.18, because this is a great mod.