I just downloaded the current FTB Launcher and tried to run it, but it keeps crashing with a unhandled NPE @ at net.ftb.util.winreg.JavaFinder.parseWinJavaVersion(JavaFinder.java:159).
I do use Windows 7 x64 and Java 1.7.0_45. JAVA_HOME is set, but i suspect that the launcher can not handle my "way of installation", as I was bad and simply extracted all the binaries instead of running the installer - as i always do. No application has problems with that (Eclipse / IDEA / Tomcat etc.) but the FTB launcher seems to look up the registry for installations paths etc. (if Github is up to date). Why is the Java version / paths being looked up in the registry even if the launcher is already being executed by the "correct" version which could be determined by using System.getProperty("java.version")?
But mabye i am blaming the wrong code because Github is not up to date. In that case -> Sorry, here is the java console output ;-):
I do use Windows 7 x64 and Java 1.7.0_45. JAVA_HOME is set, but i suspect that the launcher can not handle my "way of installation", as I was bad and simply extracted all the binaries instead of running the installer - as i always do. No application has problems with that (Eclipse / IDEA / Tomcat etc.) but the FTB launcher seems to look up the registry for installations paths etc. (if Github is up to date). Why is the Java version / paths being looked up in the registry even if the launcher is already being executed by the "correct" version which could be determined by using System.getProperty("java.version")?
But mabye i am blaming the wrong code because Github is not up to date. In that case -> Sorry, here is the java console output ;-):
Code:
From Console: Exception in thread "AWT-EventQueue-0"
From Console: java.lang.NullPointerException
From Console: at net.ftb.util.winreg.JavaFinder.parseWinJavaVersion(JavaFinder.java:159)
From Console: at net.ftb.gui.panes.OptionsPane.<init>(OptionsPane.java:132)
From Console: at net.ftb.gui.LaunchFrame.<init>(LaunchFrame.java:504)
From Console: at net.ftb.gui.LaunchFrame$1.run(LaunchFrame.java:274)
From Console: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
From Console: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
From Console: at java.awt.EventQueue.access$200(EventQueue.java:103)
From Console: at java.awt.EventQueue$3.run(EventQueue.java:694)
From Console: at java.awt.EventQueue$3.run(EventQueue.java:692)
From Console: at java.security.AccessController.doPrivileged(Native Method)
From Console: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
From Console: at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
From Console: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
From Console: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
From Console: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
From Console: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
From Console: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
From Console: at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)