NoSuchMethodException when trying to open config screen

Create issue
Issue #91 resolved
mezzodrinker created an issue

When trying to open the configuration screen of MobTalker2, the following error is logged to the console and the GUI does not show up:

There was a critical issue trying to build the config GUI for mobtalker2
java.lang.NoSuchMethodException: net.mobtalker.mobtalker2.client.config.gui.MobTalkerGuiConfig.<init>(net.minecraft.client.gui.GuiScreen)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getConstructor(Class.java:1825)
at net.minecraftforge.fml.client.GuiModList.func_146284_a(GuiModList.java:276)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:472)
at net.minecraftforge.fml.client.GuiModList.func_73864_a(GuiModList.java:190)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:548)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:517)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1670)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1028)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345)
at net.minecraft.client.main.Main.main(SourceFile:120)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Comments (2)

  1. mezzodrinker reporter
    • changed status to open

    Appears to be caused by Proguard. It seems to be over-optimizing the built .jar file and throws everything out of the MobTalkerGuiConfig class file.

  2. Log in to comment