Nullpointer Exception
Posted: 28 Jun 2015 11:02
Beim ersten, nun nicht mehr sofort abstürzenden Start des Programms, kam bei Laden eine Nullpointer Exception und das Programm hat sich aufgehängt, weitere Starts verliefen aber problemlos.
Die Ausgabe der Konsole:
Die Ausgabe der Konsole:
Code: Select all
clel@clel-Ubuntu-Desktop:~$ HELI-X6/runHELI-X.sh
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
OpenJDK 64-Bit Server VM warning: You have loaded library /home/clel/HELI-X6/libjinput-linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Failed to open device (/dev/input/event15): Failed to open device /dev/input/event15 (13)
Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)
Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)
Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)
Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)
Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)
Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)
Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)
Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)
Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
Linux plugin claims to have found 0 controllers
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at net.HeliX.j.j.ad(Unknown Source)
at net.HeliX.d.ay.<init>(Unknown Source)
at net.HeliX.d.j.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jme3.system.Natives.extractNativeLib(Natives.java:150)
at com.jme3.system.Natives.extractNativeLib(Natives.java:121)
at com.jme3.system.Natives.extractNativeLibs(Natives.java:307)
at com.jme3.system.JmeDesktopSystem.initialize(JmeDesktopSystem.java:315)
at com.jme3.system.JmeDesktopSystem.newContext(JmeDesktopSystem.java:234)
at com.jme3.system.JmeSystem.newContext(JmeSystem.java:138)
at com.jme3.app.Application.start(Application.java:385)
at com.jme3.app.Application.start(Application.java:366)
at net.HeliX.j.j.start(Unknown Source)
at net.HeliX.d.i.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)