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 GitHub by ArchDemons
, 1 year ago
No OpenGL context found in the current thread.
via GitHub by crunkazcanbe
, 2 years ago
No OpenGL context found in the current thread.
via minecraftforge.net by Unknown author, 2 years ago
No OpenGL context found in the current thread.
via GitHub by ClockworkGod
, 2 years ago
No OpenGL context found in the current thread.
via GitHub by Le0pold
, 1 year ago
No OpenGL context found in the current thread.
via GitHub by ZZaphodd
, 2 years ago
java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at com.jme3.renderer.lwjgl.LwjglGL.glBindTexture(LwjglGL.java:50)
at com.jme3.renderer.opengl.GLRenderer.bindTextureOnly(GLRenderer.java:2089)
at com.jme3.renderer.opengl.GLRenderer.setupTextureParams(GLRenderer.java:1995)
at com.jme3.renderer.opengl.GLRenderer.setTexture(GLRenderer.java:2256)
at com.jme3.renderer.opengl.GLRenderer.modifyTexture(GLRenderer.java:2260)
at com.jme3.niftygui.JmeBatchRenderBackend.modifyTexture(JmeBatchRenderBackend.java:361)
at com.jme3.niftygui.JmeBatchRenderBackend.access$300(JmeBatchRenderBackend.java:75)
at com.jme3.niftygui.JmeBatchRenderBackend$ImageImpl.modifyTexture(JmeBatchRenderBackend.java:392)
at com.jme3.niftygui.JmeBatchRenderBackend.addImageToAtlas(JmeBatchRenderBackend.java:228)
at de.lessvoid.nifty.render.batch.BatchRenderImage.uploadImageToAtlas(BatchRenderImage.java:197)
at de.lessvoid.nifty.render.batch.BatchRenderImage.upload(BatchRenderImage.java:142)
at de.lessvoid.nifty.render.NiftyImageManagerExtBatch$ReferencedCountedImageBatch.upload(NiftyImageManagerExtBatch.java:169)
at de.lessvoid.nifty.render.NiftyImageManagerExtBatch.registerImage(NiftyImageManagerExtBatch.java:42)
at de.lessvoid.nifty.render.NiftyImageManager.registerImage(NiftyImageManager.java:43)
at de.lessvoid.nifty.render.NiftyRenderEngineImpl.createImage(NiftyRenderEngineImpl.java:182)
at de.lessvoid.nifty.loaderv2.types.apply.ApplyRendererImage.apply(ApplyRendererImage.java:49)
at de.lessvoid.nifty.elements.Element.initializeFromAttributes(Element.java:376)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyAttributes(ElementType.java:257)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:198)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:161)
at de.lessvoid.nifty.Nifty.createElementFromTypeInternal(Nifty.java:1816)
at de.lessvoid.nifty.Nifty.createElementFromType(Nifty.java:1804)
at de.lessvoid.nifty.builder.ElementBuilder.build(ElementBuilder.java:494)

Users with the same issue

Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
3 times, 11 months 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.