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


Solutions on the web106

Solution icon of web
No OpenGL context found in the current thread.

Solution icon of github
via GitHub by kutoman
, 1 year ago
No OpenGL context found in the current thread.

Solution icon of github
via GitHub by Keftaa
, 1 year ago
No OpenGL context found in the current thread.

Solution icon of github
via GitHub by Draco18s
, 1 year ago
No OpenGL context found in the current thread.`

Solution icon of github
No OpenGL context found in the current thread.

Solution icon of github
via GitHub by drunkripper
, 6 months ago
No OpenGL context found in the current thread.

Solution icon of github
via GitHub by ClockworkGod
, 1 year ago
No OpenGL context found in the current thread.

Solution icon of github
No OpenGL context found in the current thread.

Solution icon of github
No OpenGL context found in the current thread.

Solution icon of github
No OpenGL context found in the current thread.

Stack trace

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 org.lwjgl.opengl.Display.setVSyncEnabled(Display.java:1133)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 4 months ago
Samebug visitor profile picture
Unknown user
3 times, 8 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
3 more bugmates