Better Advancements

Better Advancements

142M Downloads

ClassNotFoundException in dev env

BrainStone opened this issue ยท 3 comments

commented

I added the mod to the runtime mods (run/mods) and when I try to open the Advancements page the game crashes with this exception.

net.minecraft.util.ReportedException: Updating screen events
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1897) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1186) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:441) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	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_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: java.lang.NoClassDefFoundError: betteradvancements/gui/GuiBetterAdvancement
	at betteradvancements.gui.GuiBetterAdvancementTab.<init>(GuiBetterAdvancementTab.java:55) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiBetterAdvancementTab.create(GuiBetterAdvancementTab.java:148) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.rootAdvancementAdded(GuiScreenBetterAdvancements.java:234) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.advancements.AdvancementList.setListener(AdvancementList.java:177) ~[AdvancementList.class:?]
	at net.minecraft.client.multiplayer.ClientAdvancementManager.setListener(ClientAdvancementManager.java:104) ~[ClientAdvancementManager.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.initGui(GuiScreenBetterAdvancements.java:47) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:543) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1096) ~[Minecraft.class:?]
	at betteradvancements.handler.GuiOpenHandler.onGuiOpen(GuiOpenHandler.java:15) ~[GuiOpenHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_272_GuiOpenHandler_onGuiOpen_GuiOpenEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) ~[EventBus.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1062) ~[Minecraft.class:?]
	at net.minecraft.client.gui.GuiIngameMenu.actionPerformed(GuiIngameMenu.java:85) ~[GuiIngameMenu.class:?]
	at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:494) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:611) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1884) ~[Minecraft.class:?]
	... 15 more
Caused by: java.lang.ClassNotFoundException: betteradvancements.gui.GuiBetterAdvancement
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_161]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_161]
	at betteradvancements.gui.GuiBetterAdvancementTab.<init>(GuiBetterAdvancementTab.java:55) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiBetterAdvancementTab.create(GuiBetterAdvancementTab.java:148) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.rootAdvancementAdded(GuiScreenBetterAdvancements.java:234) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.advancements.AdvancementList.setListener(AdvancementList.java:177) ~[AdvancementList.class:?]
	at net.minecraft.client.multiplayer.ClientAdvancementManager.setListener(ClientAdvancementManager.java:104) ~[ClientAdvancementManager.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.initGui(GuiScreenBetterAdvancements.java:47) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:543) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1096) ~[Minecraft.class:?]
	at betteradvancements.handler.GuiOpenHandler.onGuiOpen(GuiOpenHandler.java:15) ~[GuiOpenHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_272_GuiOpenHandler_onGuiOpen_GuiOpenEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) ~[EventBus.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1062) ~[Minecraft.class:?]
	at net.minecraft.client.gui.GuiIngameMenu.actionPerformed(GuiIngameMenu.java:85) ~[GuiIngameMenu.class:?]
	at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:494) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:611) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1884) ~[Minecraft.class:?]
	... 15 more
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: betteradvancements.gui.GuiBetterAdvancement
	at org.objectweb.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1728) ~[asm-debug-all-5.2.jar:5.2]
	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.commons.LocalVariablesSorter.visitMaxs(LocalVariablesSorter.java:165) ~[asm-debug-all-5.2.jar:5.2]
	at org.objectweb.asm.ClassReader.readCode(ClassReader.java:1634) ~[asm-debug-all-5.2.jar:5.2]
	at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1032) ~[asm-debug-all-5.2.jar:5.2]
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:708) ~[asm-debug-all-5.2.jar:5.2]
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:521) ~[asm-debug-all-5.2.jar:5.2]
	at net.minecraftforge.fml.common.asm.transformers.DeobfuscationTransformer.transform(DeobfuscationTransformer.java:51) ~[forgeSrc-1.12.2-14.23.3.2655-PROJECT(BrainStoneMod).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.loadClass(ClassLoader.java:424) ~[?:1.8.0_161]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_161]
	at betteradvancements.gui.GuiBetterAdvancementTab.<init>(GuiBetterAdvancementTab.java:55) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiBetterAdvancementTab.create(GuiBetterAdvancementTab.java:148) ~[GuiBetterAdvancementTab.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.rootAdvancementAdded(GuiScreenBetterAdvancements.java:234) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.advancements.AdvancementList.setListener(AdvancementList.java:177) ~[AdvancementList.class:?]
	at net.minecraft.client.multiplayer.ClientAdvancementManager.setListener(ClientAdvancementManager.java:104) ~[ClientAdvancementManager.class:?]
	at betteradvancements.gui.GuiScreenBetterAdvancements.initGui(GuiScreenBetterAdvancements.java:47) ~[GuiScreenBetterAdvancements.class:?]
	at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:543) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1096) ~[Minecraft.class:?]
	at betteradvancements.handler.GuiOpenHandler.onGuiOpen(GuiOpenHandler.java:15) ~[GuiOpenHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_272_GuiOpenHandler_onGuiOpen_GuiOpenEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) ~[EventBus.class:?]
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1062) ~[Minecraft.class:?]
	at net.minecraft.client.gui.GuiIngameMenu.actionPerformed(GuiIngameMenu.java:85) ~[GuiIngameMenu.class:?]
	at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:494) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:611) ~[GuiScreen.class:?]
	at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576) ~[GuiScreen.class:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1884) ~[Minecraft.class:?]
	... 15 more

Full crash-report: https://gist.github.com/BrainStone/26e0160894a31dc2a509a2fa2742487e

commented

Is this still an issue?

commented

This is happening to me also, did you find a way to fix it @BrainStone?

commented

Closing due to no response