FTB Launcher is Broken

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

AmenoSagiri

New Member
Jul 29, 2019
1
0
0
Launcher seems to be broken. Nothing on it loads up properly, I can't launch, and forcing an update results in an error. First time ever using FTB.

I looked up the error, and it seems these errors have something to do with having multiple versions of Java. I uninstalled and wiped every version of Java, and re-installed one copy from the Java website.

When I click launch, I get this error in the console:
Code:
Unhandled exception in Thread[AWT-EventQueue-0,6,main]: java.lang.ArrayIndexOutOfBoundsException: -1

If I hit download server, I get the same error, and all I see on the left half of the launcher is "Please wait while mods are being loaded...", they never load.

Launching log, Launcher Version 1.3.2 :
Code:
[03:57:18] [INFO] LocaleUpdater.run:80: [i18n] remoteVer = 10
[03:57:18] [INFO] LocaleUpdater.run:93: [i18n] localVer = 10
[03:57:18] [INFO] LocaleUpdater.run:98: [i18n] Files are up to date
[03:57:18] [INFO] I18N.addFiles:118: [i18n] Fallback enUS loaded
[03:57:18] [INFO] JavaFinder.parseWinJavaVersion:126: The FTB Launcher has found the following Java versions installed:
[03:57:18] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Program Files (x86)\Java\jre7\bin\java.exe
[03:57:18] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Windows\system32\java.exe
[03:57:18] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Windows\SysWOW64\java.exe
[03:57:18] [INFO] JavaFinder.parseWinJavaVersion:159: FTB Launcher Prefers: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Program Files (x86)\Java\jre7\bin\java.exe
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 0 enUS to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 1 cyGB to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 2 daDK to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 3 deDE to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 4 esES to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 5 frFR to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 6 itIT to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 7 maHU to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 8 nlNL to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 9 ptBR to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 10 ptPT to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 11 ruRU to options pane
[03:57:18] [INFO] OptionsPane.<init>:168: [i18n] Added 12 svSE to options pane
[03:57:18] [INFO] I18N.setLocale:142: [i18n] enUS English language file loaded!
[03:57:19] [INFO] ModpackLoader.run:58: Loading modpack information for modpacks.xml...

I also just found out it didn't re-install the 64-bit version of Java. I did that and now my launcher spits this out when I open it:
Code:
[04:05:06] [INFO] JGoogleAnalyticsTracker$2.run:483: AnalyticsBackgroundThread started
[04:05:06] [INFO] LaunchFrame.main:188: FTBLaunch starting up (version 1.3.2)
[04:05:06] [INFO] LaunchFrame.main:189: Java version: 1.7.0_45
[04:05:06] [INFO] LaunchFrame.main:190: Java vendor: Oracle Corporation
[04:05:06] [INFO] LaunchFrame.main:191: Java home: C:\Program Files\Java\jre7
[04:05:06] [INFO] LaunchFrame.main:192: Java specification: Java Virtual Machine Specification version: 1.7 by Oracle Corporation
[04:05:06] [INFO] LaunchFrame.main:194: Java vm: Java HotSpot(TM) 64-Bit Server VM version: 24.45-b08 by Oracle Corporation
[04:05:06] [INFO] LaunchFrame.main:195: OS: amd64 Windows 8 6.2
[04:05:06] [INFO] LocaleUpdater.run:67: [i18n] Checking for updates ...
[04:05:06] [INFO] I18N.setLocale:142: [i18n] enUS English language file loaded!
[04:05:07] [INFO] LocaleUpdater.run:80: [i18n] remoteVer = 10
[04:05:07] [INFO] LocaleUpdater.run:93: [i18n] localVer = 10
[04:05:07] [INFO] LocaleUpdater.run:98: [i18n] Files are up to date
[04:05:07] [INFO] I18N.addFiles:118: [i18n] Fallback enUS loaded
[04:05:07] [INFO] JavaFinder.parseWinJavaVersion:126: The FTB Launcher has found the following Java versions installed:
[04:05:07] [ERROR] LauncherConsole$OutputOverride.write:89: From Console: Jan 01, 2014 4:05:07 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[04:05:08] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Program Files (x86)\Java\jre7\bin\java.exe
[04:05:08] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Program Files\Java\jre7\bin\java.exe
[04:05:08] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Windows\system32\java.exe
[04:05:08] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Windows\SysWOW64\java.exe
[04:05:08] [INFO] JavaFinder.parseWinJavaVersion:159: FTB Launcher Prefers: Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Program Files\Java\jre7\bin\java.exe
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 0 enUS to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 1 cyGB to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 2 daDK to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 3 deDE to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 4 esES to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 5 frFR to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 6 itIT to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 7 maHU to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 8 nlNL to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 9 ptBR to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 10 ptPT to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 11 ruRU to options pane
[04:05:08] [INFO] OptionsPane.<init>:168: [i18n] Added 12 svSE to options pane
[04:05:08] [INFO] I18N.setLocale:142: [i18n] enUS English language file loaded!
[04:05:09] [INFO] ModpackLoader.run:58: Loading modpack information for modpacks.xml...
[04:05:17] [ERROR] ArrayList.elementData:-1->LaunchFrame$1$1.uncaughtException:281: Unhandled exception in Thread[AWT-EventQueue-0,6,main]: java.lang.ArrayIndexOutOfBoundsException: -1
java.util.ArrayList.elementData(Unknown Source)
java.util.ArrayList.get(Unknown Source)
net.ftb.data.ModPack.getPack(ModPack.java:121)
net.ftb.data.ModPack.getSelectedPack(ModPack.java:139)
net.ftb.gui.LaunchFrame.doLaunch(LaunchFrame.java:1599)
net.ftb.gui.LaunchFrame$7.actionPerformed(LaunchFrame.java:406)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$200(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)

I then tried running the launcher as an admin, and now my startup log looks like this:
Code:
FTBLaunch starting up (version 1.3.2) AnalyticsBackgroundThread started Java version: 1.7.0_45 Java vendor: Oracle Corporation Java home: C:\Program Files\Java\jre7 Java specification: Java Virtual Machine Specification version: 1.7 by Oracle Corporation Java vm: Java HotSpot(TM) 64-Bit Server VM version: 24.45-b08 by Oracle Corporation OS: amd64 Windows 8 6.2 [i18n] Checking for updates ... [i18n] enUS English language file loaded! [i18n] remoteVer = 10 [i18n] localVer = 10 [i18n] Files are up to date [i18n] Fallback enUS loaded
The FTB Launcher has found the following Java versions installed:
Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Program Files (x86)\Java\jre7\bin\java.exe
Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Program Files\Java\jre7\bin\java.exe
Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Windows\system32\java.exe
Java Version: 1.7.0_45 sorted as: 1.7.0_45 32 Bit Java at : C:\Windows\SysWOW64\java.exe
FTB Launcher Prefers: Java Version: 1.7.0_45 sorted as: 1.7.0_45 64 Bit Java at : C:\Program Files\Java\jre7\bin\java.exe
[i18n] Added 0 enUS to options pane
[i18n] Added 1 cyGB to options pane
[i18n] Added 2 daDK to options pane
[i18n] Added 3 deDE to options pane
[i18n] Added 4 esES to options pane
[i18n] Added 5 frFR to options pane
[i18n] Added 6 itIT to options pane
[i18n] Added 7 maHU to options pane
[i18n] Added 8 nlNL to options pane
[i18n] Added 9 ptBR to options pane
[i18n] Added 10 ptPT to options pane
[i18n] Added 11 ruRU to options pane
[i18n] Added 12 svSE to options pane
[i18n] enUS English language file loaded!
Loading modpack information for modpacks.xml...
Still getting the
Unhandled exception in Thread[AWT-EventQueue-0,6,main]: java.lang.ArrayIndexOutOfBoundsException: -1 error.

If this launcher is THAT finicky with Java versions, I can't see how anyone could ever start a community and tell every one of their players how to solve every one of these problems. I get these errors on the exe launcher and the jar launcher.

Windows 8 Pro 64-bit.
 
Last edited:

UniZero

Popular Member
Oct 3, 2012
3,406
310
124
Scotland, UK
That error can appear by having multiple java versions. Try having just the 64 bit version. If you still get an error then post a fresh log to pastebin and link it here.

I suspect that the check regarding java versions was added because all but one of the 1.6 packs require 64 bit java and the only one for 32 bit systems is FTB Lite 2.
 

H3X3N

New Member
Jul 29, 2019
77
0
0
Also, Make sure to run FTB in Administration mode, And try changing your server download location to Nuttingham, And if that does not work, Try the other servers, Remember to close your FTB and reopen it each time you change your server download location.
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
BACK UP YOUR SAVE FILES

Go into your Roaming folder and delete the ftblauncher folder.

That usually fixes this issue.