Closed BluBb-mADe closed 9 months ago
Same :
[21:36:36] [main/ERROR] [randompatches]: Failed to transform class: net.minecraft.client.Minecraft
java.lang.IllegalArgumentException: Could not get common superclass of net/minecraft/client/gui/GuiGameOver and net/minecraft/client/gui/GuiScreen
at com.therandomlabs.randompatches.core.RPClassWriter.getCommonSuperClass(RPClassWriter.java:20) ~[randompatches-1.12.2-1.22.1.10.jar:?]
at org.objectweb.asm.ClassWriter.getMergedType(ClassWriter.java:1698) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.Frame.merge(Frame.java:1530) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.Frame.merge(Frame.java:1429) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1516) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:835) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:727) ~[asm-debug-all-5.2.jar:5.2]
at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:412) ~[asm-debug-all-5.2.jar:5.2]
at com.therandomlabs.randompatches.core.RPTransformer.transform(RPTransformer.java:45) [randompatches-1.12.2-1.22.1.10.jar:?]
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256) [ASMTransformerWrapper$TransformerWrapper.class:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:954) [?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:899) [?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:882) [?:1.8.0_332]
at net.minecraft.client.main.Main.main(SourceFile:38) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186) [NewLaunch.jar:?]
at org.polymc.EntryPoint.listen(EntryPoint.java:144) [NewLaunch.jar:?]
at org.polymc.EntryPoint.main(EntryPoint.java:74) [NewLaunch.jar:?]
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiGameOver
at java.lang.Class.forNameImpl(Native Method) ~[?:1.8.0_332]
at java.lang.Class.forName(Class.java:423) ~[?:1.8.0_332]
at com.therandomlabs.randompatches.core.RPClassWriter.getCommonSuperClass(RPClassWriter.java:17) ~[randompatches-1.12.2-1.22.1.10.jar:?]
... 30 more
[21:36:36] [main/WARN] [mixin]: Re-entrance detected, this will cause serious problems.
org.spongepowered.asm.mixin.transformer.throwables.ReEntrantTransformerError: Re-entrance error.
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:336) [!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:191) [!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) [!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:954) [?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:899) [?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:882) [?:1.8.0_332]
at net.minecraft.client.main.Main.main(SourceFile:38) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186) [NewLaunch.jar:?]
at org.polymc.EntryPoint.listen(EntryPoint.java:144) [NewLaunch.jar:?]
at org.polymc.EntryPoint.main(EntryPoint.java:74) [NewLaunch.jar:?]
[21:36:36] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176) [NewLaunch.jar:?]
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186) [NewLaunch.jar:?]
at org.polymc.EntryPoint.listen(EntryPoint.java:144) [NewLaunch.jar:?]
at org.polymc.EntryPoint.main(EntryPoint.java:74) [NewLaunch.jar:?]
Caused by: java.lang.NoClassDefFoundError: net.minecraft.client.Minecraft
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 15 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:954) ~[?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:899) ~[?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:882) ~[?:1.8.0_332]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 15 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.ReEntrantTransformerError: Re-entrance error.
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:336) ~[!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:191) ~[!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) ~[!!___MixinCompat-1.1-1.12.2___!%5D.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:954) ~[?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:899) ~[?:1.8.0_332]
at java.lang.ClassLoader.loadClass(ClassLoader.java:882) ~[?:1.8.0_332]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 15 more
java.io.FileNotFoundException: asm_dump\EntityRenderer.class (The system cannot find the path specified)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
at thedarkcolour.futuremc.asm.ASMUtil.patch(ASMUtil.java:194)
at thedarkcolour.futuremc.asm.ASMUtil.patch(ASMUtil.java:176)
at thedarkcolour.futuremc.asm.CoreTransformer.transform(CoreTransformer.java:23)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)
at org.spongepowered.asm.service.mojang.LegacyTransformerHandle.transformClassBytes(LegacyTransformerHandle.java:71)
at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.applyTransformers(MixinServiceLaunchWrapper.java:535)
at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassBytes(MixinServiceLaunchWrapper.java:501)
at org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper.getClassNode(MixinServiceLaunchWrapper.java:579)
at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:1843)
at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1007)
at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:997)
at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:885)
at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:730)
at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:650)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:515)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:440)
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.Proxy.transform(Proxy.java:72)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:954)
at java.lang.ClassLoader.loadClass(ClassLoader.java:899)
at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:423)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
at org.polymc.EntryPoint.listen(EntryPoint.java:144)
at org.polymc.EntryPoint.main(EntryPoint.java:74)
See you
RandomPatches only needs to be loaded on the server side to take effect; it is not necessary to load it on the client side (loading only on the server side allows configuration of server-related functions only).
RandomPatches only needs to be loaded on the server side to take effect; it is not necessary to load it on the client side (loading only on the server side allows configuration of server-related functions only).
You are correct but I don't see how this helps. FP2 needs to run on both the client and the server so just the server crashing on launch isn't really an improvement.
This should be fixed on the latest dev/abstract-everything
commit (can be downloaded from Jenkins whenever it finishes compiling). That said, the crash seems to be specific to the client side, so removing RandomPatches from the client would actually be a viable solution.
Thank you, I really apprechiate the fix. I guess just running the server separately is also a viable solution but its probably still worth it because this fixes simple single-player as well.
I tried both the latest master build as well as the abstract-everything build for 1.12.2 and both crash in combination with RandomPatches (Forge). The RandomPatches isn't actually that essential but its part of quite a few recent-ish mod-packs so finding a workaround for this will fix a lot of crashes on launch with various large mod-packs for the average user. It would fix SevTech for example.
This crash of course might not actually be the fault of FarPlaneTwo at all but the RandomPatches mod seems to be completely abandoned for years at this point so the only place where a fix could potentially be implemented is probably FarPlaneTwo.
I have included logs from launching a clean 1.12.2 instance with just FarPlaneTwo+deps with and without RandomPatches installed.
I kept the part of the log containing additional details like forge or java version at the bottom of the "Without RandomPatches" log.
With RandomPatches:
Without RandomPatches: