java.lang.RuntimeException: No OpenGL context found in the current thread.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jmonkeyengine.org by Unknown author, 10 months ago
via Google Groups by Wolfgang Schramm, 7 months ago
No OpenGL context found in the current thread.
via Stack Overflow by Maciej Dziuban
, 2 years ago
No OpenGL context found in the current thread.
via Stack Overflow by Hayden Holligan
, 7 months ago
via Stack Overflow by Ian
, 1 year ago
No OpenGL context found in the current thread.
via GitHub by 123DMWM
, 11 months ago
No OpenGL context found in the current thread.
java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGetError(GL11.java:1289)
at org.lwjgl.opengl.Util.checkGLError(Util.java:57)
at org.lwjgl.opengl.WindowsContextImplementation.setSwapInterval(WindowsContextImplementation.java:113)
at org.lwjgl.opengl.ContextGL.setSwapInterval(ContextGL.java:232)
at org.lwjgl.opengl.DrawableGL.setSwapInterval(DrawableGL.java:86)
at org.lwjgl.opengl.Display.setSwapInterval(Display.java:1120)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:462)
at com.jme3.system.lwjgl.LwjglCanvas.restoreCanvas(LwjglCanvas.java:267)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:196)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
3 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.