Camerapture

Camerapture

376k Downloads

Jade plugin fails on fabric 1.20.1

LizzieSpace opened this issue · 3 comments

commented

What's the issue?

the Jade plugin fails to load, throwing the following error:

[23:08:01] [Render thread/INFO]: Start loading plugin from Camerapture
[23:08:01] [Render thread/ERROR]: Error loading plugin at null
java.lang.NoClassDefFoundError: snownee/jade/api/IComponentProvider
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:467) ~[?:?]
	at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50) ~[fabric-loader-0.16.9.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:124) ~[fabric-loader-0.16.9.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53) ~[fabric-loader-0.16.9.jar:?]
	at snownee.jade.util.CommonProxy.lambda$loadComplete$5(CommonProxy.java:373) ~[Jade-1.20-Fabric-11.12.0.jar:?]
	at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
	at snownee.jade.util.CommonProxy.loadComplete(CommonProxy.java:368) ~[Jade-1.20-Fabric-11.12.0.jar:?]
	at snownee.jade.util.ClientProxy.lambda$onInitializeClient$1(ClientProxy.java:246) ~[Jade-1.20-Fabric-11.12.0.jar:?]
	at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35) ~[fabric-lifecycle-events-v1-2.2.2+1802ada577-81341571080f721d.jar:?]
	at net.minecraft.client.MinecraftClient.handler$dee000$fabric-lifecycle-events-v1$onStart(MinecraftClient.java:13533) ~[client-intermediary.jar:?]
	at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:781) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[minecraft-1.20.1-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.9.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.16.9.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.16.9.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[NewLaunch.jar:?]
Caused by: java.lang.ClassNotFoundException: snownee.jade.api.IComponentProvider
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.16.9.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.16.9.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
	... 19 more

which seems to be caused by the fact that Camerapture 1.20.1 uses the jade API v15.8.3, while the latest stable jade version for 1.20.1 is v11.12.0.

# Mod properties
platform.versions=1.20,1.20.1

jade.version=15.8.3

As the class snownee/jade/api/IComponentProvider only exists on v15.8.3, the plugin immediately fails.

Full Changelogs: Snownee/Jade@fabric-11.12.0...fabric-15.8.3

IComponentProvider: Diff link

What loader are you using?

Fabric

What is your Minecraft version?

1.20.1

What is Camerapture's version?

1.8.0

commented

Oh I completely missed the API changed between versions! Thank you for the detailed report, this should be a pretty quick fix!

commented

hehe could that warrant a patch release? v1.8.1 ✨

commented

Sure, I'll release a patch later today!