Exception in main thread javax.media.opengl.GLException:
Posted by Stefan on Jun 07, 2016; 6:27pm
URL: https://forum.jogamp.org/Exception-in-main-thread-javax-media-opengl-GLException-tp4036800.html
I keep getting this message when I try to run a molecular modelling software which uses jogl and gluegen jars. I have these jars installed and their classpath is set in the program's manifest which is an executable jar, which I run with java -jar. The complete error message is
Exception in main thread javax.media.opengl.GLException: Profile GL_Default is not available on null but : []
at javax.media.opengl.GLProfile.get(GLProfile.java:771)
at javax.media.opengl.GLProfile.getdefault(GLProfile.java:555)
at javax.media.opengl.GLProfile.getdefault(GLProfile.java:566)
at QuasarX. <init>(QuasarX.java:279)
at QuasarX.main(QuasarX.java:3856)
Where QuasarX is the program. I am inclined to believe that there is something wrong with my jogl files as the program has been purged and reinstalled several times with different versions etc. Otherwise I would not post here. If anyone knows that the deal with this kind of error is it'd be greatly appreciated. I am rather new to Java and Jogamp so I am at my wit's end on this one.