Posted by
loicus on
Dec 15, 2011; 8:06am
URL: https://forum.jogamp.org/Leopard-Profile-GL-DEFAULT-is-not-available-on-null-but-tp3587916.html
Dear experts,
One of my user is experiencing the following error:
#############################################
at javax.media.opengl.GLProfile.get(GLProfile.java:643)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:466)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:474)
at jfrog.Displayer.<init>(Displayer.java:117)
at jfrog.Displayer.main(Displayer.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
#############################################
Where Line117 of Displayer.java is the first line of the following block
#############################################
GLProfile glp = GLProfile.getDefault();
GLCapabilities caps = new GLCapabilities(glp);
caps.setDoubleBuffered(true);
GLCanvas canvas = new GLCanvas(caps);
#############################################
The user is running my JWS soft on Leopard: (Version : Mac OS X 10.5.8 (9L31a), Kernel Version : Darwin 9.8.0 )
I also tried to replace "GLProfile glp = GLProfile.getDefault();" by "GLProfile glp = GLProfile.getMaxFixedFunc();"
but my user is getting the same error.
I am using JOGL build:2.0-b41-20110916 and
http://jogamp.org/deployment/v2.0-rc4/jogl-all-awt.jnlp for deployement,
do you have any idea of what the problem could be?
and more important, how I can fix it?
Thanks in advance,
Loic