2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

古いMinecraft ForgeでInvocationTargetExceptionと出て怒られる問題の対策

Posted at

この記事の本体はファイルのアップロードに関する問題のため、次の場所に移転しました。
この記事は同じ問題に遭遇した人が検索でたどり着くために残されています。
https://www.notion.so/Minecraft-Forge-InvocationTargetException-e51ed7150dab49fbbd714912c0fafd49

症状

Minecraft Forgeのインストーラーのjarやexeファイルを実行すると、次のような、Java6GategetSponsorMessageを含むメッセージが出て、何も起こりません。

> forge-1.12.2-14.23.5.2768-installer-win.exe
Setting up logger: C:\████████\installer.log
java.net.preferIPv4Stack=true
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at net.minecraftforge.installer.Java6Gate.main(Java6Gate.java:48)
Caused by: java.lang.ExceptionInInitializerError
        at net.minecraftforge.installer.ClientInstall.getSponsorMessage(ClientInstall.java:401)
        at net.minecraftforge.installer.InstallerAction.getSponsorMessage(InstallerAction.java:60)
        at net.minecraftforge.installer.InstallerPanel.updateFilePath(InstallerPanel.java:334)
        at net.minecraftforge.installer.InstallerPanel.<init>(InstallerPanel.java:315)
        at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:167)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:54)
        ... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at net.minecraftforge.installer.MirrorData.buildMirrorList(MirrorData.java:84)
        at net.minecraftforge.installer.MirrorData.<init>(MirrorData.java:63)
        at net.minecraftforge.installer.MirrorData.<clinit>(MirrorData.java:17)
        ... 11 more
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?