sczerwinski / wavefront-obj-intellij-plugin

IntelliJ platform plugin for Wavefront OBJ format
https://plugins.jetbrains.com/plugin/14843-wavefront-obj
Apache License 2.0
13 stars 1 forks source link

com.jogamp.opengl.GLException: Error making context 0x20002 current on Thread AWT-EventQueue-0 #490

Closed sczerwinski closed 1 year ago

sczerwinski commented 1 year ago

Steps

I can't reproduce it now.

Result

IDE error.

Expected Result

No IDE error.

IDE Details

IntelliJ IDEA 2023.1.2 Preview (Community Edition)
Build #IC-231.9011.4, built on May 4, 2023
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 16
Registry:
    analyze.exceptions.on.the.fly=true
    debugger.new.tool.window.layout=true
    ide.experimental.ui=true

Non-Bundled Plugins:
    com.jetbrains.plugins.ini4idea (231.8770.71)
    it.czerwinski.intellij.wavefront (1.4.0-eap.1)
    com.intellij.ideolog (203.0.30.0)
    GLSL (1.24)
    org.jetbrains.plugins.hocon (2023.1.0)
    org.jetbrains.idea.grammar (2022.3.2)
    com.github.camork.fileExpander (2.1)
    GrepConsole (12.17.211.6693.0)
    org.jetbrains.compose.desktop.ide (1.4.0)
    git-extended-update-index (0.1.3)

Kotlin: 231-1.8.21-IJ9011.4

Stack Trace

com.jogamp.opengl.GLException: Error making context 0x20002 current on Thread AWT-EventQueue-0, drawableWrite 0xffffffffca010a1b, drawableRead 0xffffffffca010a1b, werr: 0, WindowsWGLContext [Version 4.6 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.6.0 NVIDIA 531.68 [GL 4.6.0, vendor 531.68.0 (NVIDIA 531.68)], options 0x7c05, this 0x4c82a065, handle 0x20002, isShared false, jogamp.opengl.gl4.GL4bcImpl@20b5d602,
     quirks: [NoDoubleBufferedBitmap, NoSurfacelessCtx],
    Drawable: ResizeableImpl[Initialized true, realized true, texUnit 0, samples 0,
    Factory   jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@769502f1,
    Handle    0xffffffffca010a1b,
    Caps      GLCaps[wgl vid 9 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2ES2/GL4.hw], offscr[fbo]],
    fboI back 0, front 0, num 1,
    FBO front read 1, FBO[name r/w 1/1, init true, bound false, size 966x419, samples 0/32, modified false/false, depth RenderAttachment[type DEPTH, format 0x81a5, samples 0, 966x419, name 0x1, obj 0x5393a2c3], stencil null, colorbuffer attachments: 1/8, with 1 textures: [TextureAttachment[type COLOR_TEXTURE, target GL_TEXTURE_2D, level 0, format 0x8051, 966x419, border 0, dataFormat 0x1907, dataType 0x1401; min/mag 0x2600/0x2600, wrap S/T 0x812f/0x812f; name 0x1, obj 0xae85105], null, null, null, null, null, null, null], msaa[null, hasSink false, dirty true], state OK, obj 0x207659f8],
    FBO back  write 1, FBO[name r/w 1/1, init true, bound false, size 966x419, samples 0/32, modified false/false, depth RenderAttachment[type DEPTH, format 0x81a5, samples 0, 966x419, name 0x1, obj 0x5393a2c3], stencil null, colorbuffer attachments: 1/8, with 1 textures: [TextureAttachment[type COLOR_TEXTURE, target GL_TEXTURE_2D, level 0, format 0x8051, 966x419, border 0, dataFormat 0x1907, dataType 0x1401; min/mag 0x2600/0x2600, wrap S/T 0x812f/0x812f; name 0x1, obj 0xae85105], null, null, null, null, null, null, null], msaa[null, hasSink false, dirty true], state OK, obj 0x207659f8],
    Surface   GDISurface[ displayHandle 0x0
, surfaceHandle 0xffffffffca010a1b
, size 966x419
, UOB[ OWNS_SURFACE | OWNS_DEVICE | WINDOW_INVISIBLE ]
, WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x6a91a013]], idx 0], pfdID 9, ARB-Choosen true,
    requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2ES2/GL4.hw], on-scr[.]],
    chosen    GLCaps[wgl vid 9 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2ES2/GL4.hw], offscr[fbo]]]
, surfaceLock <2efd8e32, 66559291>[count 1, qsz 0, owner <AWT-EventQueue-0>]
, GDIDummyUpstreamSurfaceHook[pixel 966x419]
, upstreamSurface false ]]] 
    at jogamp.opengl.windows.wgl.WindowsWGLContext.makeCurrentImpl(WindowsWGLContext.java:442)
    at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:868)
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:676)
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:614)
    at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1279)
    at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2095)
    at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1115)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
    at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
    at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
    at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5312)
    at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1668)
    at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1643)
    at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1580)
    at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1347)
    at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5260)
    at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5070)
    at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:882)
    at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:865)
    at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:838)
    at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:787)
    at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1909)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:667)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:571)
    at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1446)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:571)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:995)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:995)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:380)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
sczerwinski commented 1 year ago

Can't reproduce.