Login  Register

Available GLVersions not set for EGLGraphicsDevic

Posted by fredand44 on Oct 18, 2019; 6:13am
URL: https://forum.jogamp.org/Available-GLVersions-not-set-for-EGLGraphicsDevic-tp4040111.html

Hello guys,
I have an old project that uses Java3D. It is a java app that renders some 3D graphics.
I have built it with the jars for 1.6 from:
https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/#download

It works fine from my laptop with Linux Mint.

But when I start it on my Raspberry PI 4 with OS Raspbian I get this error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/home/albin/H%c3%a4mtningar/object3Dcreator-app-1.0.0-jar-with-dependencies.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Available GLVersions not set for EGLGraphicsDevice[type .egl, v1.4.0, connection decon, unitID 0, handle 0x7b3030, owner true, NullToolkitLock[obj 0x1a66d50]]
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1952)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
at java.base/java.security.AccessController.doPrivileged(Native Method)

Do you guys have any clue why this occur on the PI?
Could the solution be that I should move to Java3D 1.7?
 
Best regards
Fredrik