Posted by
runiter on
Jan 31, 2013; 4:16pm
URL: https://forum.jogamp.org/DefaultGraphicsConfiguration-cast-exception-tp4028060p4028084.html
I got myself a test Mac to test it but I get a different exception on this one.
Java Web Start 1.6.0_37
MacBook1,1
Intel GMA 950:
Chipset Model: GMA 950
Type: GPU
Bus: Built-In
VRAM (Total): 64 MB of Shared System Memory
Vendor: Intel (0x8086)
Device ID: 0x27a2
Revision ID: 0x0003
Here is the exception I get:
java.lang.NullPointerException
at jogamp.opengl.gl4.GL4bcImpl.glFlush(GL4bcImpl.java:5334)
at jogamp.opengl.macosx.cgl.MacOSXCGLContext$NSOpenGLImpl.release(MacOSXCGLContext.java:776)
at jogamp.opengl.macosx.cgl.MacOSXCGLContext.destroyContextARBImpl(MacOSXCGLContext.java:260)
at jogamp.opengl.GLContextImpl.createContextARBVersions(GLContextImpl.java:974)
at jogamp.opengl.GLContextImpl.createContextARBMapVersionsAvailable(GLContextImpl.java:911)
at jogamp.opengl.GLContextImpl.mapGLVersions(GLContextImpl.java:858)
at jogamp.opengl.GLContextImpl.createContextARB(GLContextImpl.java:761)
at jogamp.opengl.macosx.cgl.MacOSXCGLContext.createImpl(MacOSXCGLContext.java:299)
at jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLContext.createImpl(MacOSXOnscreenCGLContext.java:80)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:592)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:509)
at jogamp.opengl.macosx.cgl.MacOSXCGLDrawableFactory.getOrCreateOSXSharedResource(MacOSXCGLDrawableFactory.java:241)
at jogamp.opengl.macosx.cgl.MacOSXCGLDrawableFactory.createSharedResource(MacOSXCGLDrawableFactory.java:289)
at javax.media.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1560)
at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1521)
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1490)
at javax.media.opengl.GLProfile.access$100(GLProfile.java:76)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:157)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:123)
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1857)
at javax.media.opengl.GLProfile.get(GLProfile.java:801)
at javax.media.opengl.GLProfile.get(GLProfile.java:830)
at javax.media.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:636)
at com.ardor3d.framework.jogl.CapsUtil.getCapsForSettings(CapsUtil.java:34)
at com.ardor3d.framework.jogl.JoglAwtCanvas.<init>(JoglAwtCanvas.java:42)
at org.concord.energy3d.scene.SceneManager.<init>(SceneManager.java:213)
at org.concord.energy3d.scene.SceneManager.<clinit>(SceneManager.java:150)