LagGoggles

LagGoggles

9M Downloads

4.4 crashing at boot with SpongeForge RC3785

LemADEC opened this issue ยท 8 comments

commented

Description:

Server crashes at boot due to

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

How to reproduce:

Boot server with

  • LagGoggles-FAT-1.12.2-4.4 or LagGoggles-THIN-1.12.2-4.4
  • spongeforge-1.12.2-2838-7.1.7-RC3785
  • (no other mods)

Issue is not reproduced in single player without spongeforge.
Issue is not reproduced with LagGoggles-SPONGEFORGE-1.12.2-4.3-HOTFIX.

Stacktrace, if any:

https://gist.github.com/LemADEC/0e588c43aeaef035896e8abce748ca68

commented

Any chance to update the Mod metadata with an explicit version dependency, namely here:
https://github.com/TerminatorNL/LagGoggles/blob/master/src/main/java/cf/terminator/laggoggles/Main.java#L14
add a dependencies = "after:spongeforge@[1.12.2-2838-7.1.7-RC3812,);" ?

commented

No. Because some SpongeForge versions will still work, I'm just giving a warning when another version is detected.

commented
[23:55:27] [main/INFO] [LagGoggles-Boot]: I am located here: file:\C:\Users\xxx\Documents\Curse\Minecraft\Instances\lagg\mods\LagGoggles-FAT-1.12.2-4.4.jar!\cf\terminator\laggoggles\Main.class
[23:55:27] [main/INFO] [LagGoggles-Boot]: I am designed for Forge version: 14.23.5.2838
[23:55:27] [main/INFO] [LagGoggles-Boot]: Loading client classes
[23:55:27] [main/INFO] [LagGoggles-Boot]: SpongeForge is present!
[23:55:27] [main/INFO] [LagGoggles-Boot]: I am designed for SpongeForge version: 1.12.2-2838-7.1.7-RC3812
[23:55:27] [main/WARN] [LagGoggles-Boot]: SpongeForge version is different than expected!
[23:55:27] [main/WARN] [LagGoggles-Boot]: This could result in undefined behavior.
[23:55:27] [main/WARN] [LagGoggles-Boot]: 
[23:55:27] [main/WARN] [LagGoggles-Boot]: Expected: '1.12.2-2838-7.1.7-RC3812', but you have: '1.12.2-2838-7.1.7-RC3785' installed.
[23:55:27] [main/INFO] [LagGoggles-Boot]: We're running in a production environment.

Sponge versions are very specific...

commented

It could also be lower.

It depends entirely on the method bodies inside MixinWorldServer classes.

commented

That syntax is for version RC3812 "or higher".

commented

Since commit c37d9d0, you have a chance at lower version support now. I have reworked the access transformer.

If it still doesn't work, you're out of luck :/

commented

Works with latest spongeforge-1.12.2-2838-7.1.7-RC3832, thanks!

commented

Glad to hear!