Keystone Library: Nullpointer Exception when running the Cornerpin Example
in
Contributed Library Questions
•
4 months ago
Hey people,
I'm trying to get the Cornerpin example of the keystone library running and being stucked with a NullpointerException.
I'm running the example on Ubuntu 13.04 64Bit with openjdk 1.6.0_45. I installed jai-1_1_3-lib-linux-amd64-jdk.bin and copied jai_core.jar and jai_codec.jar into the keystone library folder.
When starting the Cornerpin Example, running processing 2.0b9 the following error appears:
Thanks and Cheers,
Hauke
I'm trying to get the Cornerpin example of the keystone library running and being stucked with a NullpointerException.
I'm running the example on Ubuntu 13.04 64Bit with openjdk 1.6.0_45. I installed jai-1_1_3-lib-linux-amd64-jdk.bin and copied jai_core.jar and jai_codec.jar into the keystone library folder.
When starting the Cornerpin Example, running processing 2.0b9 the following error appears:
- Listening for transport dt_socket at address: 8323
libEGL warning: failed to create a pipe screen for i965
NewtCanvasAWT.attachNewtChild.2: size 800x600
Keystone 003
NewtCanvasAWT.attachNewtChild.2: size 800x600
java.lang.RuntimeException: java.lang.NullPointerException
at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:220)
at jogamp.newt.DefaultEDTUtil.invoke(DefaultEDTUtil.java:135)
at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:207)
at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:1635)
at jogamp.newt.WindowImpl.reparentWindow(WindowImpl.java:1296)
at jogamp.newt.WindowImpl.reparentWindow(WindowImpl.java:1291)
at com.jogamp.newt.opengl.GLWindow.reparentWindow(GLWindow.java:363)
at com.jogamp.newt.awt.NewtCanvasAWT.attachNewtChild(NewtCanvasAWT.java:582)
at com.jogamp.newt.awt.NewtCanvasAWT.validateComponent(NewtCanvasAWT.java:505)
at com.jogamp.newt.awt.NewtCanvasAWT.paint(NewtCanvasAWT.java:426)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
at sun.awt.RepaintArea.paint(RepaintArea.java:224)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:677)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at com.jogamp.nativewindow.awt.JAWTWindow.getWidth(JAWTWindow.java:469)
at jogamp.newt.WindowImpl$ReparentAction.reparent(WindowImpl.java:1060)
at jogamp.newt.WindowImpl$ReparentAction.run(WindowImpl.java:1019)
at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:112)
at jogamp.newt.DefaultEDTUtil$EventDispatchThread.run(DefaultEDTUtil.java:331)
Thanks and Cheers,
Hauke
1