com.jogamp.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES2.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL2ES2/GLES2.hw], GLProfile[GLES2/GLES2.hw]]

jogamp.org | 4 months ago
  1. 0

    jogl - JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX | Page 11

    jogamp.org | 4 months ago
    com.jogamp.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES2.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL2ES2/GLES2.hw], GLProfile[GLES2/GLES2.hw]]
  2. 0

    Error after hibernation

    GitHub | 4 months ago | ToonTalk
    com.jogamp.opengl.GLException: Error making context 0x90000 current on Thread AWT-EventQueue-0, drawableWrite 0xc010246, drawableRead 0xc010246, werr: 0, WindowsWGLContext [Version 4.0 (Compat profile, arb, compat[ES2, ES3], FBO, hardware) - 4.0.0 - Build 9.18.10.3220 [GL 4.0.0, vendor 9.18.10 (- Build 9.18.10.3220)], options 0x4c03, this 0x476a132d, handle 0x90000, isShared false, jogamp.opengl.gl4.GL4bcImpl@4335e4c2, quirks: [NoDoubleBufferedBitmap, NoSurfacelessCtx], Drawable: WindowsOnscreenWGLDrawable[Realized true, Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@6c2641a9, Handle 0xc010246, Surface JAWTWindow[0x7a1fcf78][JVM version: 1.8.0_74 (1.8.0 update 74) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 8 / 83 584 x 486 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x1e08d8, surfaceHandle 0xc010246, bounds [ 8 / 83 584 x 486 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [8/83 584x486], pixels[scale 1.0, 1.0 -> 584x486], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1], chosen GLCaps[wgl vid 16 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/1/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], sun.awt.Win32GraphicsConfig@175ce872[dev=Win32GraphicsDevice[screen=1],pixfmt=16], encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x7382f6ee]], idx 1], pfdID 16, ARB-Choosen true, requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/1/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], chosen GLCaps[wgl vid 16 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]]]], awtComponent AWT-GLCanvas[Realized true, jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable, Factory jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory@6c2641a9, handle 0xc010246, Drawable size 584x486 surface[584x486], AWT[pos 8/83, size 584x486, visible true, displayable true, showing true, AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection \Display1, unitID 0, awtDevice Win32GraphicsDevice[screen=1], handle 0x0], idx 1], chosen GLCaps[wgl vid 16 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/1/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], sun.awt.Win32GraphicsConfig@175ce872[dev=Win32GraphicsDevice[screen=1],pixfmt=16], encapsulated WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x7382f6ee]], idx 1], pfdID 16, ARB-Choosen true, requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/1/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]], chosen GLCaps[wgl vid 16 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]]]]]], surfaceLock <3401903e, 4359a3d1>[count 1, qsz 0, owner <AWT-EventQueue-0>]]]]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1436#172953886

    GitHub | 11 months ago | benoitgaudou
    com.jogamp.opengl.GLException: Drawable's handle neither NSView, NSWindow nor PBuffer: drawableHandle 0x0, isNSView false, isNSWindow false, isFBO false, isPBuffer false, jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLDrawable, MacOSXOnscreenCGLDrawable[Realized false, Factory jogamp.opengl.macosx.cgl.MacOSXCGLDrawableFactory@1ececb56, Handle 0x0, Surface WrappedSurface[ displayHandle 0x0 , surfaceHandle 0x0 , size 1459x643 , UOB[ ] , MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type .macosx, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x61c0d413]], idx 0], chosen GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]] , surfaceLock <6f07365b, 6b38bf63>[count 1, qsz 0, owner <Geometry building thread>] , SWTCanvasUpstreamSurfaceHook[upstream: SWT-GLCanvas[Realized false, null-drawable, Factory null, handle 0x0, Drawable size -1x-1, SWT size 1459x643], 1459x643] , upstreamSurface false ]]
  5. 0

    X11 Error while Running jmavsim with remote window fowarding.

    GitHub | 8 months ago | owenalpha
    com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection localhost:10.0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x407df228, isOwner false, <ca5412c, 3559b630>[count 0, qsz 0, owner <NULL>]]]

  1. serious2monkeys 1 times, last 1 week ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.jogamp.opengl.GLException

    Profile GL2 is not available on null, but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES2.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL2ES2/GLES2.hw], GLProfile[GLES2/GLES2.hw]]

    at com.jogamp.opengl.GLProfile.get()
  2. JOGL
    GLProfile.get
    1. com.jogamp.opengl.GLProfile.get(GLProfile.java:990)
    2. com.jogamp.opengl.GLProfile.get(GLProfile.java:1003)
    2 frames
  3. com.badlogic.gdx
    JoglApplication.<init>
    1. com.badlogic.gdx.backends.jogamp.JoglGraphicsBase.initialize(JoglGraphicsBase.java:62)
    2. com.badlogic.gdx.backends.jogamp.JoglGraphics.<init>(JoglGraphics.java:50)
    3. com.badlogic.gdx.backends.jogamp.JoglApplication.initialize(JoglApplication.java:83)
    4. com.badlogic.gdx.backends.jogamp.JoglApplication.<init>(JoglApplication.java:77)
    4 frames
  4. com.mygdx.game
    DesktopLauncher.main
    1. com.mygdx.game.desktop.DesktopLauncher.main(DesktopLauncher.java:24)
    1 frame