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 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    jogamp.org | 6 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

    Maven test failure on Windows

    GitHub | 1 year ago | io7m
    com.jogamp.opengl.GLException: Profile GL3 is not available on null, but: [GLProfile[GL2ES1/GL2.sw], GLProfile[GL2ES2/GL2.sw], GLProfile[GL2/GL2.sw], GLProfile[GL2/GL2.sw], GLProfile[GL2GL3/GL2.sw]]
  3. Speed up your debug routine!

    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