Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Caught NativeWindowException: DC not released: GDISurface[ displayHandle 0x0
, surfaceHandle 0x52011cf4
, size 857x704
, UOB[ OWNS_SURFACE | OWNS_DEVICE | WINDOW_INVISIBLE ]
, WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x76933a78]], idx 0], pfdID 9, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, one, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 9 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], offscr[fbo]]]
, surfaceLock <673cfebd, 25dd3b36>[count 1, qsz 0, owner ]
, GDIDummyUpstreamSurfaceHook[pixel 857x704]
, upstreamSurface false ], isWindow false, werr 0, thread: AWT-EventQueue-0 on thread AWT-EventQueue-0
at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1502)
at com.jogamp.opengl.Threading.invoke(Threading.java:223)
at com.jogamp.opengl.awt.GLJPanel.dispose(GLJPanel.java:487)
at com.jogamp.opengl.awt.GLJPanel.removeNotify(GLJPanel.java:688)
at com.jogamp.opengl.awt.GLJPanel.destroy(GLJPanel.java:513)
at com.jogamp.opengl.awt.GLJPanel$2.run(GLJPanel.java:312)
at com.jogamp.nativewindow.awt.AWTWindowClosingProtocol$WindowClosingAdapter.windowClosing(AWTWindowClosingProtocol.java:71)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.jogamp.nativewindow.NativeWindowException: DC not released: GDISurface[ displayHandle 0x0
, surfaceHandle 0x52011cf4
, size 857x704
, UOB[ OWNS_SURFACE | OWNS_DEVICE | WINDOW_INVISIBLE ]
, WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x76933a78]], idx 0], pfdID 9, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, one, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 9 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], offscr[fbo]]]
, surfaceLock <673cfebd, 25dd3b36>[count 1, qsz 0, owner ]
, GDIDummyUpstreamSurfaceHook[pixel 857x704]
, upstreamSurface false ], isWindow false, werr 0, thread: AWT-EventQueue-0
at jogamp.nativewindow.windows.GDISurface.unlockSurfaceImpl(GDISurface.java:121)
at jogamp.nativewindow.ProxySurfaceImpl.unlockSurface(ProxySurfaceImpl.java:229)
at jogamp.opengl.GLDrawableImpl.unlockSurface(GLDrawableImpl.java:332)
at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:509)
at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.destroy(GLJPanel.java:1816)
at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1489)
... 32 more