Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find defineClass1 #1

Open
pisaiah opened this issue Sep 5, 2020 · 0 comments
Open

Can't find defineClass1 #1

pisaiah opened this issue Sep 5, 2020 · 0 comments

Comments

@pisaiah
Copy link

pisaiah commented Sep 5, 2020

Unfortunately, when I use the mod it fails to get ClassLoader.defineClass1

java.lang.RuntimeException: Failed to get ClassLoader.defineClass1 at net.gudenau.minecraft.asm.impl.MixinTransformer.<clinit>(MixinTransformer.java:61) at net.gudenau.minecraft.asm.impl.Bootstrap.setup(Bootstrap.java:90) at net.gudenau.minecraft.asm.mixin.Plugin.<clinit>(Plugin.java:15) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at net.fabricmc.loader.launch.knot.MixinServiceKnot.findClass(MixinServiceKnot.java:83) at org.spongepowered.asm.mixin.transformer.PluginHandle.<init>(PluginHandle.java:96) at org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:598) at org.spongepowered.asm.mixin.transformer.MixinProcessor.selectConfigs(MixinProcessor.java:476) at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:438) at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:416) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:285) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:191) 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:157) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:143) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:190) at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140) at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:26) at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) Caused by: java.lang.NoSuchMethodException: no such method: java.lang.ClassLoader.defineClass1(ClassLoader,String,byte[],int,int,ProtectionDomain,String)Class/invokeStatic at java.lang.invoke.MemberName.makeAccessException(MemberName.java:871) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1003) at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1386) at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:780) at net.gudenau.minecraft.asm.impl.ReflectionHelper.findStatic(ReflectionHelper.java:105) at net.gudenau.minecraft.asm.impl.MixinTransformer.<clinit>(MixinTransformer.java:54) ... 21 more Caused by: java.lang.NoSuchFieldError: method resolution failed at java.lang.invoke.MethodHandleNatives.resolve(Native Method) at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ... 25 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant