Uncatched Exception
Posted: 10 Jun 2015 18:03
Hi,
I've got an uncatched Null Pointer exception in HELI-X 6.0.1612.
It appears firstly after updating OS from Ubuntu 14.10 to Ubuntu 15.04. Under 14.10 HELI-X 6.0.1612 works fine.
Went wrong when my RX2SIM Controller is plugged in at startup of HELI-X, but Controller works correctly with calibration app "jstest-gtk".
Thanks
------
~/HELI-X6$ ./runHELI-X.sh
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/jens/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/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/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 1 controllers
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at net.HeliX.j.j.ae(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:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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)
~$ lsusb
Bus 001 Device 010: ID 0483:a0eb STMicroelectronics <----- RX2SIM Controller
~/HELI-X6$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
I've got an uncatched Null Pointer exception in HELI-X 6.0.1612.
It appears firstly after updating OS from Ubuntu 14.10 to Ubuntu 15.04. Under 14.10 HELI-X 6.0.1612 works fine.
Went wrong when my RX2SIM Controller is plugged in at startup of HELI-X, but Controller works correctly with calibration app "jstest-gtk".
Thanks
------
~/HELI-X6$ ./runHELI-X.sh
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/jens/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/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/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 1 controllers
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at net.HeliX.j.j.ae(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:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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)
~$ lsusb
Bus 001 Device 010: ID 0483:a0eb STMicroelectronics <----- RX2SIM Controller
~/HELI-X6$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)