**FIXED** Exception in thread "main" java.lang.NullPointer

Installation and usage on Windows / Installation unter Windows
Post Reply
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

**FIXED** Exception in thread "main" java.lang.NullPointer

Post by Thorvald »

Just downloaded the latest Heli-X6 and installed to c:\heli-x6 as per defaults. When I run the .bat file it gets the following error at the end:

C:\HELI-X6>Java\jre8\bin\java.exe -Djava.library.path=. -Xms512m -classpath ./l
ibs/HeliX/HeliX6.jar;./libs/HeliX/Translation.jar;./libs/HeliX/Media.jar;./libs/
jme/jME3-core.jar;./libs/jme/jME3-plugins.jar;./libs/jme/jME3-terrain.jar;./libs
/jme/jME3-desktop.jar;./libs/jme/jME3-blender.jar;./libs/jme/jME3-jogg.jar;./lib
s/jme/jME3-lwjgl.jar;./libs/jme/jME3-effects.jar;./libs/jme/eventbus.jar;./libs/
jme/lwjgl.jar;./libs/jme/nifty.jar;./libs/jme/jME3-niftygui.jar;./libs/jme/xmlpu
ll-xpp3.jar;./libs/jme/joal.jar;./libs/jme/jinput.jar;./libs/jdom/jdom.jar;./lib
s/javagamenetworking/jgn.jar;./libs/math/openmali.jar;./libs/jme/gluegen-rt.jar;
./libs/jme/j-ogg-oggd.jar;./libs/jme/j-ogg-vorbisd.jar;./libs/jme/styles.zip;./l
ibs/jme/nifty-default-controls.jar;./libs/jme/nifty-style-black.jar HELIX
Exception in thread "main" java.lang.NullPointerException
at net.HeliX.u.e.f(Unknown Source)
at net.HeliX.u.e.<init>(Unknown Source)
at net.HeliX.u.c.<init>(Unknown Source)
at net.HeliX.d.ay.b(Unknown Source)
at HELIX.main(Unknown Source)


- Running Windows 7 64 bit
- Internet ok
- Interlink controller connected
- Installed JRE SE 8 just to be safe but didn't solve the issue

Any ideas?

Thanks
Tim
Last edited by Thorvald on 12 Apr 2015 00:32, edited 1 time in total.
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Well I understand the boys from RCHeliNation Podcast could not get Version 6 running either...

Guess we wait for a bug fix?
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Michael »

Is this the demo version or the activated version?

Did you try both, the 32 and 64 bit version?

Michael
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Demo version, or at least I think so as I can't even start it to confirm (I still have my full version 5 installed as well).

Will try 32 bit now.


Tim
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Unable to uninstall Heli-x6, get the following error:

Unable to create a temporary file. Setup aborted.

Error 5: Access is denied.


I have tried running the un-install as administrator, same error. Tried from Control Panel, same error.

Tim
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Just tried 32 bit, same error:

C:\HELI-X6-32>Java\jre8\bin\java.exe -Djava.library.path=. -Xms512m -classpath
./libs/HeliX/HeliX6.jar;./libs/HeliX/Translation.jar;./libs/HeliX/Media.jar;./li
bs/jme/jME3-core.jar;./libs/jme/jME3-plugins.jar;./libs/jme/jME3-terrain.jar;./l
ibs/jme/jME3-desktop.jar;./libs/jme/jME3-blender.jar;./libs/jme/jME3-jogg.jar;./
libs/jme/jME3-lwjgl.jar;./libs/jme/jME3-effects.jar;./libs/jme/eventbus.jar;./li
bs/jme/lwjgl.jar;./libs/jme/nifty.jar;./libs/jme/jME3-niftygui.jar;./libs/jme/xm
lpull-xpp3.jar;./libs/jme/joal.jar;./libs/jme/jinput.jar;./libs/jdom/jdom.jar;./
libs/javagamenetworking/jgn.jar;./libs/math/openmali.jar;./libs/jme/gluegen-rt.j
ar;./libs/jme/j-ogg-oggd.jar;./libs/jme/j-ogg-vorbisd.jar;./libs/jme/styles.zip;
./libs/jme/nifty-default-controls.jar;./libs/jme/nifty-style-black.jar HELIX
Exception in thread "main" java.lang.NullPointerException
at net.HeliX.u.e.f(Unknown Source)
at net.HeliX.u.e.<init>(Unknown Source)
at net.HeliX.u.c.<init>(Unknown Source)
at net.HeliX.d.ay.b(Unknown Source)
at HELIX.main(Unknown Source)

java version installed is java 8 update 31 (and the 64 bit version)
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Just updated to 8.40, same issue, same error.

No one has found a fix for this yet?

Thanks
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Still the same error.... tried verifying with java that no older versions are installed, it passed fine. Recommended 8.40 is installed.
Thorvald
Posts: 11
Joined: 02 Dec 2013 01:27

Re: Exception in thread "main" java.lang.NullPointerExceptio

Post by Thorvald »

Finally figured it out... Heli-X6 includes a old copy of the Java Runtime...

Simply edit batch file and change the path to the Java executable:

Java\jre8\bin\java.exe -Djava.library.path=%libPath% -Xms512m -classpath %jars% HELIX

To:

C:\Progra~1\Java\jre1.8.0_40\bin\java.exe -Djava.library.path=%libPath% -Xms512m -classpath %jars% HELIX

(Or where ever you installed the latest version of Java).
Post Reply