Error running Gear sample on Mac book air

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error running Gear sample on Mac book air

demchris
Hi,

I'm unable to run any samples from the web site on my Mac book Air, I rebuild myself the Gear sample on my machine with the jogl 2.0-rc10 to make sure I have last version, here is the OS log receive when I try to run my own Gear sample :


Process:         java [2102]
Path:            /usr/bin/java
Identifier:      com.apple.javajdk16.cmd
Version:         1.0 (1.0)
Code Type:       X86-64 (Native)
Parent Process:  bash [2101]
User ID:         501

PlugIn Path:       /var/folders/*/libjogl_desktop.jnilib
PlugIn Identifier: libjogl_desktop.jnilib
PlugIn Version:    ??? (0)

Date/Time:       2012-08-08 08:23:03.256 -0400
OS Version:      Mac OS X 10.8 (12A269)
Report Version:  10

Interval Since Last Report:          73473 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  13 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      02D68568-3771-4462-B28D-57FB2F8A199E

Crashed Thread:  1

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x7faea94219b0'
terminate called throwing an exception
abort() called

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff8d73e716 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff89729470 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff8d7d4d5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation                      0x00007fff8d72cc3e ___forwarding___ + 414
4   CoreFoundation                      0x00007fff8d72ca28 _CF_forwarding_prep_0 + 232
5   AppKit                              0x00007fff8b8bcb3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
6   libjogl_desktop.jnilib              0x000000011242e8cb setContextPBuffer + 203
7   libjogl_desktop.jnilib              0x000000011249228b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
8   ???                                 0x0000000105c9fd6e 0x0 + 4392090990

I got the error at the initialization of JOGL :

    caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));

System :

._MacBook_Air.spx