Re: Minecraft Forge java.lang.reflect.InvocationTargetException
Jeroen Frijters <[email protected]> Wed, 1 Apr 2015 06:54:38 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alastair, Yes, unfortunately I've kind of given up on this. The code relies on HotSpot implementation details like class loading ordering/timing and stack traces. It is possible to get to the main menu by filtering some IKVM specific stack frames from the stack traces, but then it crashes after trying to start the game. It is also hard to debug because of the (de)obfuscation and dynamic patching that it is doing. Regards, Jeroen > -----Original Message----- > From: Alastair Barnes [mailto:[email protected]] > Sent: Tuesday, March 31, 2015 19:48 > To: [email protected] > Subject: [Ikvm-developers] Minecraft Forge > java.lang.reflect.InvocationTargetException > > Hello > > The latest development build of IKVM no-longer produces a stack-overflow > when running a minecraft instance with forge installed > (http://files.minecraftforge.net/, 1.7.10-Recommended). > > However, it is still unable to reach the main menu, instead producing > this error in the console. > > Unsupported option ignored: - > XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecra > ft.exe.heapdump > [18:25:15] [main/INFO] [LaunchWrapper]: Loading tweak class name > cpw.mods.fml.common.launcher.FMLTweaker > [18:25:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name > cpw.mods.fml.common.launcher.FMLTweaker > [18:25:16] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.common.launcher.FMLTweaker > [18:25:17] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1291 for > Minecraft 1.7.10 loading [18:25:17] [main/INFO] [FML]: Java is IKVM.NET, > version 1.8.0, running on Windows 7:amd64:6.1, installed at C:\.virtual- > ikvm-home [18:25:17] [main/INFO] [LaunchWrapper]: Loading tweak class > name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker > [18:25:17] [main/INFO] [LaunchWrapper]: Loading tweak class name > cpw.mods.fml.common.launcher.FMLDeobfTweaker > [18:25:17] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker > [18:25:17] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker > [18:25:17] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper > [18:25:25] [main/INFO] [FML]: Found valid fingerprint for Minecraft > Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 > [18:25:25] [main/INFO] [FML]: Found valid fingerprint for Minecraft. > Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc > [18:25:25] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper > [18:25:25] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.common.launcher.FMLDeobfTweaker > [18:25:28] [main/INFO] [LaunchWrapper]: Loading tweak class name > cpw.mods.fml.common.launcher.TerminalTweaker > [18:25:28] [main/INFO] [LaunchWrapper]: Calling tweak class > cpw.mods.fml.common.launcher.TerminalTweaker > [18:25:28] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft > {net.minecraft.client.main.Main} [18:25:32] [main/ERROR] > [LaunchWrapper]: Unable to launch > java.lang.reflect.InvocationTargetException > at java.lang.reflect.Method.invoke(Method.java:472) ~[?:1.8.0] > at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) > [launchwrapper-1.11.jar:?] > at net.minecraft.launchwrapper.Launch.main(Launch.java:28) > [launchwrapper-1.11.jar:?] Caused by: java.lang.NoSuchMethodError: > net.minecraft.server.MinecraftServer.func_130071_aq()J > at net.minecraft.client.Minecraft.<init>(Minecraft.java:197) > ~[bao.class:?] > at net.minecraft.client.main.Main.main(SourceFile:129) > ~[Main.class:?] > ... 3 more > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/