Windows .exe Launcher 1.3.0 Crashes on opening

  • 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

drwhat

New Member
Jul 29, 2019
11
0
0
FTB Launcher version (if this isn't the newest update update and try again): 1.3.0
Minecraft Version:
Java version: Java 7 update 45
Detailed description of the issue / how can the issue be recreated: Start the launcher
Error logs: http://pastebin.com/YsKudM0c
 

mellamokb

New Member
Jul 29, 2019
25
0
0
FTB Launcher Version: 1.3.0
Java Version: 1.7.0_45 (64-bit)

I am seeing this exact same error. I tried deleting my entire FeedTheBeast folder and downloading a fresh copy of the launcher from the website, and still getting the same error every time.
Error Logs: http://pastebin.com/5TyEWDBm
 

mellamokb

New Member
Jul 29, 2019
25
0
0
The problem seems to be the logic that tries to find all Java installs (JavaInfo.java). It makes the assumption that every version of java has 4 parts - major, minor, revision, and build. However, this is not the case. Some installs of Java don't have a build number. For example, these are the installs present on my system (in c:\program files\java):
jdk1.6.0_24
jdk1.6.0_30
jdk1.6.0_33
jdk1.7.0
jdk1.7.0_25

Note that jdk1.7.0 has no build number. So the code attempts to split into 4 parts and read all 4 parts... hence the ArrayIndexOutOfBoundsException with value 3, because this version doesn't have a 4th part (index 3).

The solution for me was to uninstall jdk1.7.0, since it's an older version of Java and I don't need it.
 
Last edited:
  • Like
Reactions: noah_wolfe

Daemon

New Member
Jul 29, 2019
1
0
0
Sounds plausible, but I'm currently running jdk1.7.0_45 and I still have the problem..
 

WuffleFluffy

New Member
Jul 29, 2019
402
0
0
Hi All,

Here what I did to get everything working.

I am running Windows 8.1, with latest patches.

Before you begin.. back up your saves and resource packs!!

1. Deleted the directory %APPDATA%\ftblauncher
2. Deleted the directory where the mods are downloaded (In my case it was C:\MineCraft\)
3. Deleted all shortcuts related to FTB Launcher or Minecraft
4. Go to www.java.com
4.1 Click the big red button 'Free Java Download'
4.1 On the left, there is a hyperlink called 'offline installer', here is URL https://www.java.com/winoffline_installer/
4.2 Click the hyperlink 'See all Java Downloads'
4.3 I'm a windows user so I clicked the 'Windows Offline (64-bit)'
4.4 Download and run the installer

5. Once this is done, go to FTB, down and run the .EXE launcher
The Launcher will then run as if for the first time and discover all the bits and pieces that are present.
For myself, I am seeing version 1.30 of the FTB Launcher
6. Create your Profile as normal
6.1 ** IMPORTANT** click the 'Options' button on launcher.. you should now see the slider
for available memory, increase it to a MINIMUM of 2.5GB of RAM, I found that with DW20
6.4 that got me over strange 'stack overflow' and other weird issues.
7. Launch Mod Pack (In My case the DireWolf 6.4. pack version 1.0.3)

So far, connected to my server (Hosted via Creeperhost.net which has version 1.0.3 available) and all is good!

Now, back to some serious digging :)
 
  • Like
Reactions: Tarso0

UniZero

Popular Member
Oct 3, 2012
3,406
310
124
Scotland, UK
FTB Launcher version (if this isn't the newest update update and try again): 1.3.0
Minecraft Version:
Java version: Java 7 update 45
Detailed description of the issue / how can the issue be recreated: Start the launcher
Error logs: http://pastebin.com/YsKudM0c

According to your log your are not using the update 45 version of java. You either did something wrong or you still have old versions installed.
 

UniZero

Popular Member
Oct 3, 2012
3,406
310
124
Scotland, UK
The problem seems to be the logic that tries to find all Java installs (JavaInfo.java). It makes the assumption that every version of java has 4 parts - major, minor, revision, and build. However, this is not the case. Some installs of Java don't have a build number. For example, these are the installs present on my system (in c:\program files\java):
jdk1.6.0_24
jdk1.6.0_30
jdk1.6.0_33
jdk1.7.0
jdk1.7.0_25

Note that jdk1.7.0 has no build number. So the code attempts to split into 4 parts and read all 4 parts... hence the ArrayIndexOutOfBoundsException with value 3, because this version doesn't have a 4th part (index 3).

The solution for me was to uninstall jdk1.7.0, since it's an older version of Java and I don't need it.

Unless you are using the jdk for making applications and such you should only have the JRE installed and nothing else. Remove all old versions of java and make sure you have update 45 installed from here.[DOUBLEPOST=1387105538][/DOUBLEPOST]

You have the same problem as drwhat.[DOUBLEPOST=1387105631][/DOUBLEPOST]

Line 3 from your log:

[00:55:37] [INFO] LaunchFrame.main:189: Java version: 1.7.0

If it was update 45 your log would show that. Like i said if you have old versions installed you need to remove them.
 

drwhat

New Member
Jul 29, 2019
11
0
0
That's impossible, because I installed win8.1 on my PC 2 weeks ago and it has only had 1 version of java installed.

http://prntscr.com/2bbnjn
http://prntscr.com/2bbpc4

As you can see, JRE 7 x64, Installed on Thursday... I haven't downloaded or installed any other version, And windows 8 doesn't come with java pre-installed, and version checker says I'm running update 45.


Its a problem with the launcher, 1.2.9 and all previous versions worked fine.
 
Last edited: