TerminatorNL / LagGoggles

A minecraft forge mod which visualises lag in the world
GNU General Public License v3.0
54 stars 20 forks source link

Crash on newest Spongeforge/Forge Server #73

Closed rvveber closed 5 years ago

rvveber commented 5 years ago

Describe the bug

Reopen of #72: Ofcourse! I'm so sorry, i have so many things on my head i totally did forget to post a log!

I'm assuming you haven't updated the spongeforge version yet. I tried the newest THIN version and it seems to work fine serverside.

To Reproduce Be on a Spongeforge 2838 RC3859 Server with Forge 2838 and have following mods installed:(probably not the cause of the issue) LittleTiles 1.5.0 pre153 Flan.s.Mod-5.6 beta CreativeCore 1.9.57 Chisel-MC 0.2.1.35

Then install LagGoggles-SPONGEFORGE-1.12.2-4.3-HOTFIX

If you are using SpongeForge, which version are you using? 1.12.2-2838-7.1.7-RC3859

Please provide the early startup messages starting with [LagGoggles-Boot]

The error begins even before that, apparently, as i cannot find startup messages form LagGoggles.

[21:41:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/renderer/tileentity/TileEntityRendererDispatcher (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@303a5119 from coremod FMLCorePlugin)
[21:41:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher was not found mixins.laggoggles.json:MixinTileEntityRendererDispatcher
[21:41:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/renderer/entity/RenderManager (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@303a5119 from coremod FMLCorePlugin)
[21:41:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.renderer.entity.RenderManager was not found mixins.laggoggles.json:MixinRenderManager
[21:41:14] [main/WARN] [mixin]: Static binding violation: PRIVATE @Overwrite method func_189509_E in mixins.common.core.json:world.WorldMixin cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.
[21:41:15] [main/WARN] [mixin]: Error loading class: org/spongepowered/common/interfaces/block/IMixinBlock (java.lang.ClassNotFoundException: The specified class 'org.spongepowered.common.interfaces.block.IMixinBlock' was not found)
[21:41:15] [main/INFO] [mixin]: Instancing error handler class org.spongepowered.mod.mixin.handler.MixinErrorHandler
[21:41:15] [main/WARN] [mixin]: Mixin apply failed mixins.laggoggles.json:MixinWorldServerSponge -> net.minecraft.world.WorldServer: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded NullPointerException whilst applying the mixin class: null
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded NullPointerException whilst applying the mixin class: null
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_222]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_222]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_222]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) [?:1.8.0_222]
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048) [?:1.8.0_222]
    at java.lang.Class.getMethod0(Class.java:3018) [?:1.8.0_222]
    at java.lang.Class.getMethod(Class.java:1784) [?:1.8.0_222]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:132) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2838-universal.jar:?]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2838-universal.jar:?]
Caused by: java.lang.NullPointerException
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:909) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:880) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethodDescriptor(MixinTargetContext.java:920) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformDescriptor(MixinTargetContext.java:836) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:455) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:445) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:432) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:312) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    ... 22 more

If you used the word 'error' somewhere, always provide the stack trace along with both debug.log and latest.log

debug.log latest.log

TerminatorNL commented 5 years ago

No worries, you more than made up for it with this report, thank you for that.

As for the error at hand:

java.lang.ClassNotFoundException: The specified class 'org.spongepowered.common.interfaces.block.IMixinBlock' was not found
    at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassBytes(MixinServiceLaunchWrapper.java:357) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassNode(MixinServiceLaunchWrapper.java:432) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:1676) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:907) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:880) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethodDescriptor(MixinTargetContext.java:920) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformDescriptor(MixinTargetContext.java:836) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:455) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:445) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:432) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:312) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_222]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_222]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_222]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) [?:1.8.0_222]
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048) [?:1.8.0_222]
    at java.lang.Class.getMethod0(Class.java:3018) [?:1.8.0_222]
    at java.lang.Class.getMethod(Class.java:1784) [?:1.8.0_222]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:132) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2838-universal.jar:?]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2838-universal.jar:?]
[21:46:16] [main/WARN] [mixin]: Error loading class: org/spongepowered/common/interfaces/block/IMixinBlock (java.lang.ClassNotFoundException: The specified class 'org.spongepowered.common.interfaces.block.IMixinBlock' was not found)
[21:46:16] [main/TRACE] [mixin]: Added class metadata for org/spongepowered/common/interfaces/block/IMixinBlock to metadata cache
[21:46:16] [main/INFO] [mixin]: Instancing error handler class org.spongepowered.mod.mixin.handler.MixinErrorHandler
[21:46:16] [main/WARN] [mixin]: Mixin apply failed mixins.laggoggles.json:MixinWorldServerSponge -> net.minecraft.world.WorldServer: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded NullPointerException whilst applying the mixin class: null
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded NullPointerException whilst applying the mixin class: null
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_222]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_222]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_222]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) [?:1.8.0_222]
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048) [?:1.8.0_222]
    at java.lang.Class.getMethod0(Class.java:3018) [?:1.8.0_222]
    at java.lang.Class.getMethod(Class.java:1784) [?:1.8.0_222]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:132) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2838-universal.jar:?]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2838-universal.jar:?]
Caused by: java.lang.NullPointerException
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:909) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:880) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethodDescriptor(MixinTargetContext.java:920) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformDescriptor(MixinTargetContext.java:836) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:455) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:445) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:432) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:312) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) ~[!spongeforge-1.12.2-2838-7.1.7-RC3859.jar:1.12.2-2838-7.1.7-RC3859]
    ... 22 more

Looks like it needs a simple version bump to the newest SpongeForge. I'm on it!

rvveber commented 5 years ago

Amazing! Thank you!

Little Sidequestion though, What is the difference to the THIN version?

TerminatorNL commented 5 years ago

I'm an idiot. I was unable to replicate the bug, because you are not on the latest version of LagGoggles! (it's LagGoggles-XXX-1.12.2-4.6! :smiley:)

The difference between THIN and FAT is that FAT includes a dependency (Mixin). FAT is rarely needed for most modpacks. A foolproof way to know if you need THIN or FAT is to just try THIN first. If it starts, keep THIN. If it doesn't start, go FAT. :wink:

All you have to do is update to the latest version of LagGoggles and that should be good.

rvveber commented 5 years ago

I'm an idiot. I was unable to replicate the bug, because you are not on the latest version of LagGoggles! (it's LagGoggles-XXX-1.12.2-4.6! 😃)

The difference between THIN and FAT is that FAT includes a dependency (Mixin). FAT is rarely needed for most modpacks. A foolproof way to know if you need THIN or FAT is to just try THIN first. If it starts, keep THIN. If it doesn't start, go FAT. 😉

All you have to do is update to the latest version of LagGoggles and that should be good.

Then i was mislead on the Curseforge Page, under Features it says as first point: Sponge compatible (use the SPONGEFORGE version!)

So i thought i needed to use the SPONGEFORGE version! and the latest spongeforge version is 4.3 I knew the differences between Thin and Fat, i thought there were differences between Thin and SPONGEFORGE too.

TerminatorNL commented 5 years ago

Oh my lord! The one person to actually read the documentation... And I failed you... Sorry!

This is a remnant of the old days, before I knew how to properly call my versions, I will fix it right away!