I have a JOGL2 based JNLP applet, and a similar JNLP app. After upgrading my Mac to OS X 10.8 (Mountain Lion), I find that the applet still works fine, but the app crashes, apparently at the point where it sets up the JOGL canvas, in libjogl_desktop.jnilib.
Checking the standard gears demo app at jogamp.org/jogl-demos/www/, I find exactly the same problem:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7f9610ce9040'
terminate called throwing an exception
On 10/29/2012 11:29 AM, gouessej [via jogamp] wrote:
> Do you still reproduce this bug? Someone else recently tried to run my game
> (using Java Web Start) under Mac OS X 10.8.2 with Oracle JDK 1.7 and got a crash.
> @Sven Do you have an access to this version of Mac OS X?
No, sorry - only 10.7.5 here.
But it should work w/ OSX 10.8 and latest JOGL aggregation
_if_ not using a GL3 context.
I currently work on a fix for the latter (GL3 & CALayer).
Don't be sorry, you already do your best. I use GLProfile.getMaxFixedFunc(true). I use a more recent build. I will ask him to send me the logs. I'm worried as I use NEWT, I thought I wouldn't be bothered under Mac.
Please can you just confirm it runs under your Mac?