#Error initialising mixin config

6 messages · Page 1 of 1 (latest)

cinder kiln
#

Hi, I've got some problem. How can I fix it?

Uncaught exception in thread "main"
java.lang.RuntimeException: Error parsing or using Mixin config fabric-registry-sync-v0.client.mixins.json for mod fabric-registry-sync-v0
    at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:96)
    at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:151)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config fabric-registry-sync-v0.client.mixins.json
    at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:168)
    at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:121)
    at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:108)
    at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:98)
    at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:94)
    ... 4 more
Caused by: java.lang.IllegalArgumentException: The specified resource 'fabric-registry-sync-v0.client.mixins.json' was invalid or could not be read
    at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1395)
    at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:163)
    ... 8 more
zenith dust
#

one of your deps didnt download correctly, reset your gradle cache

#

typically its file => invalidate caches

#

otherwise close your ide, delete the .gradle folder

cinder kiln
#

Thanks, it's fixed
But I've got an another error:

Uncaught exception in thread "main"
java.lang.RuntimeException: Minecraft game provider couldn't locate the game! The game may be absent from the class path, lacks some expected files, suffers from jar corruption or is of an unsupported variety/version.
    at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:212)
    at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:130)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

cinder kiln
#

Okay, I found out there was a problem with my gradle settings. Now it works