javax.media.opengl.GLException

Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502),

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web145

  • via Google Groups by nils.hoffmann@web.de, 6 months ago
    Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502),
  • via Google Groups by Klemen Zhivko, 6 months ago
    Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502),
  • via Stack Overflow by user3346785
    , 1 year ago
    Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glFramebufferRenderbuffer( 0x8D40, 0x8CE0, 0x8D41, 0x0): GL_INVALID_OPERATION ( 1282 0x502),
  • Stack trace

    • javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502), at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58) at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103) at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206) at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172) at javax.media.opengl.Threading.invoke(Threading.java:191) at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:75) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:416) at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:188) at java.lang.Thread.run(Thread.java:745) Caused by: javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502), at javax.media.opengl.DebugGL4bc.writeGLError(DebugGL4bc.java:29501) at javax.media.opengl.DebugGL4bc.glEnd(DebugGL4bc.java:7563) at org.jzy3d.plot3d.primitives.LineStrip.drawLineGL2(LineStrip.java:108) at org.jzy3d.plot3d.primitives.LineStrip.drawLine(LineStrip.java:67) at org.jzy3d.plot3d.primitives.LineStrip.draw(LineStrip.java:57) at org.jzy3d.plot3d.rendering.scene.Graph.drawDecomposition(Graph.java:212) at org.jzy3d.plot3d.rendering.scene.Graph.draw(Graph.java:184) at org.jzy3d.plot3d.rendering.scene.Graph.draw(Graph.java:174) at org.jzy3d.plot3d.rendering.view.View.renderSceneGraph(View.java:934) at org.jzy3d.plot3d.rendering.view.View.renderSceneGraph(View.java:921) at org.jzy3d.plot3d.rendering.view.View.renderScene(View.java:756) at org.jzy3d.plot3d.rendering.view.layout.ColorbarViewportLayout.render(ColorbarViewportLayout.java:56) at org.jzy3d.chart.ChartView.render(ChartView.java:46) at org.jzy3d.plot3d.rendering.view.Renderer3d.reshape(Renderer3d.java:110) at jogamp.opengl.GLDrawableHelper.reshape(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.reshape(GLDrawableHelper.java:698) at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1285) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994) at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:702) at java.awt.EventQueue$3.run(EventQueue.java:696) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    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

    You’re the first here who have seen this exception.