DevAuth
DevAuth copied to clipboard
DevAuth crashes with IntelliJ profiler
My DevAuth works fine, unless I attempt to launch with the IntelliJ profiler, in which case it crashes with the following error:
Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.ExceptionInInitializerError
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:482)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: java.lang.ExceptionInInitializerError
at me.djtheredstoner.devauth.common.config.DevAuthConfig.load(DevAuthConfig.java:31)
at me.djtheredstoner.devauth.common.DevAuth.processArguments(DevAuth.java:27)
at net.minecraft.client.main.Main.localvar$zch000$devauth$modifyArgs(Main.java:514)
at net.minecraft.client.main.Main.main(Main.java)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
... 3 more
Caused by: org.apache.http.conn.ssl.SSLInitializationException: class configured for SSLContext: sun.security.ssl.SSLContextImpl$TLSContext not a SSLContext
at org.apache.http.conn.ssl.SSLContexts.createDefault(SSLContexts.java:58)
at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:719)
at me.djtheredstoner.devauth.common.util.Util.<clinit>(Util.java:23)
... 8 more
Caused by: java.security.NoSuchAlgorithmException: class configured for SSLContext: sun.security.ssl.SSLContextImpl$TLSContext not a SSLContext
at sun.security.jca.GetInstance.checkSuperClass(GetInstance.java:260)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:237)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
at org.apache.http.conn.ssl.SSLContexts.createDefault(SSLContexts.java:54)
... 10 more
This is especially annoying as it still crashes even if DevAuth is disabled with the program argument.