Reply – Re: Java3D now works with JOGL 2.0
Your Name
Subject
Message
or Cancel
In Reply To
Re: Java3D now works with JOGL 2.0
— by Eike Eike
Hi there and thank you very much for the work you have done.
I just tried to get one of my projects running that needs Java 7 and Java3D on the mac. I followed your tutorial so far but unfortunately I run into problems. Whatever I do, I get always the following error on a MacBook Pro 13", 2,5GHz Intel Core i5, 4GB, Intel HD Graphics 3000 384MB, OS X 10.8 (12A269):

********************************************************************************

3D [dev] 1.6.0-pre1-daily-experimental daily

2012-08-09 19:09:22.595 java[612:14303] -[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fb23a612d40
2012-08-09 19:09:22.597 java[612:14303] An uncaught exception was raised
2012-08-09 19:09:22.597 java[612:14303] -[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fb23a612d40
2012-08-09 19:09:22.597 java[612:14303] (
        0   CoreFoundation                      0x00007fff833d6716 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff86eb8470 objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8346cd5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
        3   CoreFoundation                      0x00007fff833c4c3e ___forwarding___ + 414
        4   CoreFoundation                      0x00007fff833c4a28 _CF_forwarding_prep_0 + 232
        5   AppKit                              0x00007fff8405bb3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
        6   libjogl_desktop.jnilib              0x0000000113b1289b setContextPBuffer + 203
        7   libjogl_desktop.jnilib              0x0000000113b7629b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
        8   ???                                 0x0000000105e47d6e 0x0 + 4393827694
        9   ???                                 0x0000000105e3c85a 0x0 + 4393781338
        10  ???                                 0x0000000105e3ce03 0x0 + 4393782787
        11  ???                                 0x0000000105e3c929 0x0 + 4393781545
)
2012-08-09 19:09:22.598 java[612:14303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fb23a612d40'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff833d6716 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff86eb8470 objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8346cd5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
        3   CoreFoundation                      0x00007fff833c4c3e ___forwarding___ + 414
        4   CoreFoundation                      0x00007fff833c4a28 _CF_forwarding_prep_0 + 232
        5   AppKit                              0x00007fff8405bb3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
        6   libjogl_desktop.jnilib              0x0000000113b1289b setContextPBuffer + 203
        7   libjogl_desktop.jnilib              0x0000000113b7629b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
        8   ???                                 0x0000000105e47d6e 0x0 + 4393827694
        9   ???                                 0x0000000105e3c85a 0x0 + 4393781338
        10  ???                                 0x0000000105e3ce03 0x0 + 4393782787
        11  ???                                 0x0000000105e3c929 0x0 + 4393781545
)
libc++abi.dylib: terminate called throwing an exception

******************************************************************************

I wonder if you could give me an advise where I should have a look?

Thank you
Eike