Attempting to call GLProfile.get(GLProfile.GL2) from a Java program
results in the following stack trace:
java.lang.InternalError: XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2098)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1976)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1895)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1861)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:239)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:225)
at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2324)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1009)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1025)
at net.sf.openrocket.gui.figure3d.RocketFigure3d.initGLCanvas(RocketFigure3d.java:144)
This appears to be a regression at some point between 18.3.6-2+deb10u1
(which works) and 20.1.9-1 (which doesn't). I get the same results
whether calling from java8 or java13.