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),

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 Google Groups by nils.hoffmann@web.de, 1 year ago
Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glEnd(): GL_INVALID_OPERATION ( 1282 0x502),
via bitbucket.org by Unknown author, 2 years ago
Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glTexImage2D(<int> 0xDE1, <int> 0x0, <int> 0x1907, <int> 0x310, <int> 0x201, <int> 0x0, <int> 0x1907, <int> 0x1401, <java.nio.Buffer> java.nio.DirectByteBuffer[pos=0 lim= cap= ]): GL_INVALID_VALUE ( 1281 0x501),
via Google Groups by Klemen Zhivko, 10 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
, 2 years 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),
via webbyexpert.com by Unknown author, 2 years 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),
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 javax.media.opengl.Threading.invoke(Threading.java:193)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:595)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:64)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:584)
at java.awt.Component.dispatchEventImpl(Component.java:4957)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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