Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

(1.17.1) Hydrogen release v0.3.1 incompatibility with FabricProxyLite-1.1.5 #58

Open
BlueGuitarCL opened this issue Nov 9, 2021 · 2 comments

Comments

@BlueGuitarCL
Copy link

BlueGuitarCL commented Nov 9, 2021

I was updating all mods as usual on the server and seems like last jar of fabric-api breaks hydrogen. I'll paste the error here.

[19:29:03] [main/INFO]: Loading for game Minecraft 1.17.1
[19:29:03] [main/INFO]: [FabricLoader] Loading 59 mods:
        - [email protected]
        - [email protected]+1.17
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+6d0fac4218
        - [email protected]+6d0fac4218
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+6d0fac4218
        - [email protected]+6d0fac4218
        - [email protected]+5847535018
        - [email protected]
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+6d0fac4218
        - [email protected]+5847535018
        - [email protected]+6d0fac4218
        - [email protected]+6d0fac4218
        - [email protected]+6d0fac4218
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+5847535018
        - [email protected]+eb76084f18
        - [email protected]+6d0fac4218
        - [email protected]
        - [email protected]
        - [email protected]
        - java@17
        - [email protected]
        - [email protected]
        - [email protected]
        - [email protected]+build.180
        - [email protected]
        - [email protected]+1.17.1
        - [email protected]
[19:29:04] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/home/blue/fabric-seedtest/fabric-server-launch.jar Service=Knot/Fabric Env=SERVER
[19:29:04] [main/INFO]: Compatibility level set to JAVA_16
[19:29:04] [main/INFO]: Loaded configuration file for Lithium: 87 options available, 0 override(s) found
[19:29:05] [main/WARN]: @Mixin target net/minecraft/class_3218$class_5526 is public in fabric-lifecycle-events-v1.mixins.json:ServerWorldEntityLoaderMixin and should be specified in value
[19:29:05] [main/FATAL]: Mixin prepare failed preparing util.MixinIdentifier in hydrogen.mixins.json: org.spongepowered.asm.mixin.transformer.throwables.MixinTargetAlreadyLoadedException Critical problem: hydrogen.mixins.json:util.MixinIdentifier target net.minecraft.class_2960 was loaded too early.
org.spongepowered.asm.mixin.transformer.throwables.MixinTargetAlreadyLoadedException: Critical problem: hydrogen.mixins.json:util.MixinIdentifier target net.minecraft.class_2960 was loaded too early.
        at org.spongepowered.asm.mixin.transformer.MixinInfo.readDeclaredTargets(MixinInfo.java:938) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinInfo.<init>(MixinInfo.java:872) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:715) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:648) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:514) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:439) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:415) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:285) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[fabric-server-launch.jar:?]
        at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) ~[fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) ~[fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) ~[fabric-server-launch.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at net.fabricmc.loader.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50) ~[fabric-server-launch.jar:?]
        at net.fabricmc.loader.EntrypointStorage$NewEntry.lambda$getOrCreate$0(EntrypointStorage.java:106) ~[fabric-server-launch.jar:?]
        at java.util.HashMap.computeIfAbsent(HashMap.java:1219) ~[?:?]
        at net.fabricmc.loader.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:104) ~[fabric-server-launch.jar:?]
        at net.fabricmc.loader.EntrypointStorage.lambda$getEntrypointContainers$1(EntrypointStorage.java:191) ~[fabric-server-launch.jar:?]
        at net.fabricmc.loader.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:143) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric-server-launch.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) [fabric-server-launch.jar:?]
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114)
        ... 1 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68)
        ... 2 more
Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'hydrogen'!
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33)
        at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:143)
        at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28)
        ... 7 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [hydrogen.mixins.json:util.MixinIdentifier] from phase [DEFAULT] in config [hydrogen.mixins.json] FAILED during PREPARE
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:642)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinPrepareError(MixinProcessor.java:590)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:517)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:439)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:415)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:285)
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208)
        at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178)
        at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23)
        at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162)
        at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:467)
        at net.fabricmc.loader.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
        at net.fabricmc.loader.EntrypointStorage$NewEntry.lambda$getOrCreate$0(EntrypointStorage.java:106)
        at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1219)
        at net.fabricmc.loader.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:104)
        at net.fabricmc.loader.EntrypointStorage.lambda$getEntrypointContainers$1(EntrypointStorage.java:191)
        at net.fabricmc.loader.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37)
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47)
        ... 10 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTargetAlreadyLoadedException: Critical problem: hydrogen.mixins.json:util.MixinIdentifier target net.minecraft.class_2960 was loaded too early.
        at org.spongepowered.asm.mixin.transformer.MixinInfo.readDeclaredTargets(MixinInfo.java:938)
        at org.spongepowered.asm.mixin.transformer.MixinInfo.<init>(MixinInfo.java:872)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:715)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:648)
        at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:514)
        ... 28 more
[Tue Nov 09] blue@zmc-cx31:~/fabric-seedtest $ ls ../fabric-zmc-hetzner/mods/
total 3.6M
-rw-r--r-- 1 blue blue 1.1M Oct 17 18:27 fabric-api-0.41.0+1.17.jar
-rw-r--r-- 1 blue blue 116K Jul 15 22:33 hydrogen-fabric-mc1.17.1-0.3.jar
@BlueGuitarCL BlueGuitarCL changed the title Hydrogen release v0.3 not working with fabric-api-0.4.1+1.17 Hydrogen release v0.3 not working with fabric-api-0.42.1+1.17 Nov 16, 2021
@MeeniMc
Copy link
Contributor

MeeniMc commented Nov 21, 2021

There is a newer version 0.3.1 that I am using with fabric-api-0.41.2, try upgrading.

From the dates you may already have it (hard to tell as 0.3.1 self reports as 0.3), can you replicate with only Hydrogen? It could be a mod incompatibility.

@BlueGuitarCL
Copy link
Author

BlueGuitarCL commented Dec 8, 2021

The logs i sent at that moment were for fabric-api-0.42.1, and it worked on Hydrogen 0.3.1 and on the latest api too (api-0.42.1)
But after discarding my mod list one by one (tested with fabric-loader-0.12.5+1.17.1), the issue dissapeared when i unloaded FabricProxyLite, and both mods are crucial for the network so.. i would appreciate if both mods can work together.

Edit: Im starting to suspect why both mods worked alongside before and now with newer api and loader it doesnt work anymore. No idea what it can be

@BlueGuitarCL BlueGuitarCL changed the title Hydrogen release v0.3 not working with fabric-api-0.42.1+1.17 (1.17.1) Hydrogen release v0.3.1 incompatibility with FabricProxyLite-1.1.5 Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants