Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack traces aren't deobfuscated on the server #134

Open
skerit opened this issue May 19, 2022 · 0 comments
Open

Stack traces aren't deobfuscated on the server #134

skerit opened this issue May 19, 2022 · 0 comments

Comments

@skerit
Copy link

skerit commented May 19, 2022

Describe the bug

Stack traces aren't deobfuscated (on the server)

Am I wrong in assuming this is supposed to be a feature of the mod for developers?

To Reproduce

Make your mod throw an error.

Crash Log:

[17:55:34] [Server thread/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5132.method_26862(net.minecraft.class_1320)" because "this.field_23711" is null
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_5131.method_26852(class_5131.java:62)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1309.method_26825(class_1309.java:1868)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1309.method_6063(class_1309.java:1667)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1309.<init>(class_1309.java:245)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1308.<init>(class_1308.java:129)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1314.<init>(class_1314.java:14)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at rocks.blackblock.redshirt.npc.RedshirtNPC.<init>(RedshirtNPC.java:61)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at rocks.blackblock.redshirt.npc.RedshirtNPC.create(RedshirtNPC.java:292)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at rocks.blackblock.redshirt.server.Commands.lambda$addCommands$1(Commands.java:35)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:263)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2170.redirect$zzk000$performCommand(class_2170.java:547)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2170.method_9249(class_2170.java:264)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3244.method_14370(class_3244.java:1253)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3244.method_31286(class_3244.java:1237)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3244.method_12048(class_3244.java:1220)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2797.method_12115(class_2797.java:30)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2797.method_11054(class_2797.java:7)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_2600.method_11072(class_2600.java:22)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_3738.run(class_3738.java:18)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1255.method_18859(class_1255.java:157)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_4093.method_18859(class_4093.java:23)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:808)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:165)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1255.method_16075(class_1255.java:131)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:790)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:784)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.class_1255.method_18857(class_1255.java:140)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:769)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.handler$zgp000$modifiedRunLoop(MinecraftServer.java:3905)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
[17:55:34] [Server thread/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:833)

@natanfudge natanfudge changed the title Stack traces aren't deobfuscated Stack traces aren't deobfuscated on the server Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant