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

We couldn't find tips for this exception.

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

Solutions on the web5

  • via Unknown by nils.hoffmann@web.de,
  • via Unknown by Klemen Zhivko,
  • via Stack Overflow by user3346785
    ,
  • 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 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)

    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

    We couldn't find other users who have seen this exception.