Exception in main thread javax.media.opengl.GLException:
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.
Re: Exception in main thread javax.media.opengl.GLException:
I can't help much, but I can tell you that javax.media.opengl is the old location, if you have access to the source you should use an updated jogl version and update all your imports
I can't help much, but I can tell you that javax.media.opengl is the old location, if you have access to the source you should use an updated jogl version and update all your imports
If you reply to this email, your message will be added to the discussion below:
elect is right. Please ask the software maintainers to build their software with JOGL 2.3.2 (the latest version of JOGL) and use it with this version. If the bug persists, please follow Xerxes' suggestion.