fr1kin / ForgeHax

A Minecraft cheat that runs as a Forge mod
MIT License
486 stars 128 forks source link

Crash at startup #409

Open EnderGZM opened 2 years ago

EnderGZM commented 2 years ago

Minecraft version:1.12.2 Forgehax version: forgehax-1.12.2-2.9.0.jar

log:

[21:19:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[21:19:46] [main/INFO] [FML]: Forge Mod Loader version 14.23.2.2644 for Minecraft 1.12.2 loading
[21:19:46] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_311, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_311
[21:19:46] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in forgehax-1.12.2-2.9.0.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[21:19:46] [main/WARN] [FML]: The coremod com.matt.forgehax.asm.ForgeHaxCoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[21:19:46] [main/WARN] [FML]: The coremod ForgeHaxCoreMod (com.matt.forgehax.asm.ForgeHaxCoreMod) is not signed!
[21:19:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:19:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:19:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[21:19:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[21:19:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:19:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:19:47] [main/INFO] [ForgeHaxASM]: Using build mapping "1.12_snapshot_20171003"
[21:20:07] [main/ERROR] [ForgeHaxAsmStackTrace]: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
    at sun.security.ssl.SSLTransport.decode(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at bspkrs.mmv.RemoteZipHandler.checkRemoteZip(RemoteZipHandler.java:107)
    at com.matt.forgehax.asm.utils.remapping.MCPMappingLoader.getSubDirForZip(MCPMappingLoader.java:107)
    at com.matt.forgehax.asm.utils.remapping.MCPMappingLoader.<init>(MCPMappingLoader.java:49)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.<init>(ObfuscatedStateMapper.java:49)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.getInstance(ObfuscatedStateMapper.java:36)
    at com.matt.forgehax.asm.utils.environment.RuntimeState.getMapper(RuntimeState.java:72)
    at com.matt.forgehax.asm.ASMCommon.<clinit>(ASMCommon.java:14)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.attemptAutoAssign(ASMClassBuilder.java:59)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.build(ASMClassBuilder.java:65)
    at com.matt.forgehax.asm.TypesMc$Classes.<clinit>(TypesMc.java:23)
    at com.matt.forgehax.asm.patches.BlockPatch.<init>(BlockPatch.java:22)
    at com.matt.forgehax.asm.ForgeHaxTransformer.<init>(ForgeHaxTransformer.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.<init>(ASMTransformerWrapper.java:245)
    at $wrapper.com.matt.forgehax.asm.ForgeHaxTransformer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
    at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:133)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[21:20:10] [main/ERROR] [ForgeHaxAsmStackTrace]: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
    at sun.security.ssl.Alert.createSSLException(Unknown Source)
    at sun.security.ssl.TransportContext.fatal(Unknown Source)
    at sun.security.ssl.TransportContext.fatal(Unknown Source)
    at sun.security.ssl.TransportContext.fatal(Unknown Source)
    at sun.security.ssl.SSLTransport.decode(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.access$300(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$12.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$12.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at bspkrs.mmv.RemoteZipHandler.checkRemoteZip(RemoteZipHandler.java:107)
    at com.matt.forgehax.asm.utils.remapping.MCPMappingLoader.getSubDirForZip(MCPMappingLoader.java:107)
    at com.matt.forgehax.asm.utils.remapping.MCPMappingLoader.<init>(MCPMappingLoader.java:50)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.<init>(ObfuscatedStateMapper.java:49)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.getInstance(ObfuscatedStateMapper.java:36)
    at com.matt.forgehax.asm.utils.environment.RuntimeState.getMapper(RuntimeState.java:72)
    at com.matt.forgehax.asm.ASMCommon.<clinit>(ASMCommon.java:14)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.attemptAutoAssign(ASMClassBuilder.java:59)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.build(ASMClassBuilder.java:65)
    at com.matt.forgehax.asm.TypesMc$Classes.<clinit>(TypesMc.java:23)
    at com.matt.forgehax.asm.patches.BlockPatch.<init>(BlockPatch.java:22)
    at com.matt.forgehax.asm.ForgeHaxTransformer.<init>(ForgeHaxTransformer.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.<init>(ASMTransformerWrapper.java:245)
    at $wrapper.com.matt.forgehax.asm.ForgeHaxTransformer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
    at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:133)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Suppressed: java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
        ... 53 more
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
    at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
    ... 50 more

[21:20:10] [main/ERROR] [ForgeHaxASM]: Unable to find joined.srg. Your MCP conf folder may be corrupt.
[21:20:10] [main/ERROR] [ForgeHaxAsmStackTrace]: com.matt.forgehax.asm.utils.remapping.MCPMappingLoader$CantLoadMCPMappingException: Unable to find joined.srg. Your MCP conf folder may be corrupt.
    at com.matt.forgehax.asm.utils.remapping.MCPMappingLoader.<init>(MCPMappingLoader.java:57)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.<init>(ObfuscatedStateMapper.java:49)
    at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.getInstance(ObfuscatedStateMapper.java:36)
    at com.matt.forgehax.asm.utils.environment.RuntimeState.getMapper(RuntimeState.java:72)
    at com.matt.forgehax.asm.ASMCommon.<clinit>(ASMCommon.java:14)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.attemptAutoAssign(ASMClassBuilder.java:59)
    at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.build(ASMClassBuilder.java:65)
    at com.matt.forgehax.asm.TypesMc$Classes.<clinit>(TypesMc.java:23)
    at com.matt.forgehax.asm.patches.BlockPatch.<init>(BlockPatch.java:22)
    at com.matt.forgehax.asm.ForgeHaxTransformer.<init>(ForgeHaxTransformer.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.<init>(ASMTransformerWrapper.java:245)
    at $wrapper.com.matt.forgehax.asm.ForgeHaxTransformer.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
    at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:133)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[21:20:10] [main/INFO] [ForgeHaxASM]: Mapping data successfully initialize
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.ExceptionInInitializerError
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.attemptAutoAssign(ASMClassBuilder.java:59)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.utils.asmtype.builders.ASMClassBuilder.build(ASMClassBuilder.java:65)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.TypesMc$Classes.<clinit>(TypesMc.java:23)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.patches.BlockPatch.<init>(BlockPatch.java:22)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.ForgeHaxTransformer.<init>(ForgeHaxTransformer.java:51)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at java.lang.reflect.Constructor.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at java.lang.Class.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.<init>(ASMTransformerWrapper.java:245)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at $wrapper.com.matt.forgehax.asm.ForgeHaxTransformer.<init>(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at java.lang.reflect.Constructor.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at java.lang.Class.newInstance(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:133)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: java.lang.NullPointerException: MCPMappingLoader failed to lookup obfuscation data
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at java.util.Objects.requireNonNull(Unknown Source)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.<init>(ObfuscatedStateMapper.java:57)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.utils.remapping.ObfuscatedStateMapper.getInstance(ObfuscatedStateMapper.java:36)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.utils.environment.RuntimeState.getMapper(RuntimeState.java:72)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  at com.matt.forgehax.asm.ASMCommon.<clinit>(ASMCommon.java:14)
[21:20:10] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]:  ... 21 more
Exception in thread "main" 

I checked and it seems that java cannot establish SSL connection with github. Maybe it's some problems with my internet settings.

Is there any offline alternative? I can access github with my browser, so where can I download the mapping file and where should I put it.

fr1kin commented 2 years ago

You are probably running an ancient version of Java 8. You should definitely consider updating because such an old version of java is vulnerable to the object deserialization RCE bug.

To check your java version run java -version in cmd.exe/powershell/command line

EnderGZM commented 2 years ago

I upate my Java8 to jre1.8.0_321 x64 but it crashed too, and the log is the same.

C:\Users\Ender>java -version java version "1.8.0_321" Java(TM) SE Runtime Environment (build 1.8.0_321-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)

fr1kin commented 2 years ago

Perhaps the mapping file somehow got corrupted? Try deleting the folder ~/.cache/MCPMappingViewer

ChromaPIE commented 2 years ago

Same issue, also with Java 8 update 321, meanwhile I can't find the folder named after .cache under .minecraft.