Skip to content

Instantly share code, notes, and snippets.

@xranby
Created July 17, 2015 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xranby/67ab02b7d18f4ac1483e to your computer and use it in GitHub Desktop.
Save xranby/67ab02b7d18f4ac1483e to your computer and use it in GitHub Desktop.
Exception in thread "main" com.jogamp.nativewindow.NativeWindowException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: Method "eglGetDisplay" not available
at jogamp.newt.DisplayImpl.createNative(DisplayImpl.java:345)
at jogamp.newt.DisplayImpl.addReference(DisplayImpl.java:534)
at processing.opengl.PSurfaceJOGL.initScreen(PSurfaceJOGL.java:115)
at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:104)
at processing.core.PApplet.initSurface(PApplet.java:10036)
at processing.core.PApplet.runSketch(PApplet.java:9972)
at processing.core.PApplet.main(PApplet.java:9747)
at cube.main(cube.java:96)
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: Method "eglGetDisplay" not available
at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:249)
at jogamp.newt.DefaultEDTUtil.invoke(DefaultEDTUtil.java:163)
at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:427)
at jogamp.newt.DisplayImpl.createNative(DisplayImpl.java:339)
... 7 more
Caused by: java.lang.UnsupportedOperationException: Method "eglGetDisplay" not available
at com.jogamp.opengl.egl.EGL.eglGetDisplay(EGL.java:535)
at jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplay(EGLDisplayUtil.java:187)
at jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:243)
at jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:271)
at jogamp.opengl.egl.EGLDisplayUtil.access$300(EGLDisplayUtil.java:58)
at jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay(EGLDisplayUtil.java:308)
at com.jogamp.nativewindow.egl.EGLGraphicsDevice.open(EGLGraphicsDevice.java:111)
at jogamp.newt.driver.bcm.vc.iv.DisplayDriver.createNativeImpl(DisplayDriver.java:98)
at jogamp.newt.DisplayImpl$4.run(DisplayImpl.java:342)
at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:150)
at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:372)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment