Created attachment 450 [details]
Error log created when jogl opengles support is enabled.
I have an application where I keep getting this error. According to this forum post: http://forum.jogamp.org/jogl-demos-fail-Failed-to-created-initialize-EGL-display-td4028878.html This exception should be caught, and the program should continue to execute. However it does not.
Passing the -Djogl.disable.opengles arg to the jvm fixes the issue.
I created log files with "-Djogl.debug=all -Dnativewindow.debug=all" passed to the jvm with opengles enabled and disabled.
Created attachment 451 [details]
Error log created when jogl opengles support is disabled.
Bug 713: Handle broken EGL setup - Catch all Exception types, not only JogampRuntimeException at *DrawableFactory* instantiation trial
In case EGL is not completly installed, EGLDisplayUtil.eglGetDisplayAndInitialize(..)
will throw a GLExeception which was not catched in GLDrawableFactory.
The latter only catched JogampRuntimeException caused by ReflectionUtil due to n/a classes,
but the actual initialization code is capable to throw others.