When I run the program on win7 64bit,10 times crashed 5 times when the programe is starting
and the exception is Exception in thread "Timer-0" javax.media.opengl.GLException: javax.media.opengl .GLException: Unable to create temp OpenGL context for device context 0x89011c83 at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadin gPlugin.java:98)localIP[0]:10.35.30.20 at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:1 97) at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164) localIP[1]:fe80:0:0:0:f5b9:9d85:9cda:c547%11 at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCan vas.java:830) at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:419) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:7 4) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:142) at com.jogamp.opengl.util.FPSAnimator$1.run(FPSAnimator.java:128) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: javax.media.opengl.GLException: Unable to create temp OpenGL context for device context 0x89011c83 at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLCont ext.java:294) at jogamp.opengl.GLContextImpl.makeCurrentLocking(GLContextImpl.java:468 ) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:399) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:383) at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.ru n(GLCanvas.java:956) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCo ntrolContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:616) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) I have used System.setProperty("sun.awt.noerasebackground", "true"); but i sitll not works.Sorry for my poor English. |
Administrator
|
Hi
Which version of JOGL 2.0 do you use? Can you at least give us a small code example causing this problem?
Julien Gouesse | Personal blog | Website
|
I use JOGL 2.0 rc5.
I try to wirte a samll example,but i cannot causing the problem with it. I will be crazy.haha! I will continue try to causing the problem with small code. |
Administrator
|
I advise you to simplify your source code and test it step by step so that you will find what part of the code is helpful to reproduce your problem.
I often use full screen mode without problems except that AWT full screen mode is broken under GNU Linux, the task bar is drawn on the full screen window since the fourth version of KDE. NEWT full screen mode works fine.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |