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

Google Groups | Klemen Zhivko | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    AW: [jzy3d] Code works on windows but not on linux

    Google Groups | 2 years ago | nils.hoffmann@web.de
    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),
  2. 0

    Code works on windows but not on linux

    Google Groups | 2 years ago | Klemen Zhivko
    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),

    Root Cause Analysis

    1. 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()
    2. JOGL
      DebugGL4bc.glEnd
      1. javax.media.opengl.DebugGL4bc.writeGLError(DebugGL4bc.java:29501)
      2. javax.media.opengl.DebugGL4bc.glEnd(DebugGL4bc.java:7563)
      2 frames
    3. org.jzy3d.plot3d
      ColorbarViewportLayout.render
      1. org.jzy3d.plot3d.primitives.LineStrip.drawLineGL2(LineStrip.java:108)
      2. org.jzy3d.plot3d.primitives.LineStrip.drawLine(LineStrip.java:67)
      3. org.jzy3d.plot3d.primitives.LineStrip.draw(LineStrip.java:57)
      4. org.jzy3d.plot3d.rendering.scene.Graph.drawDecomposition(Graph.java:212)
      5. org.jzy3d.plot3d.rendering.scene.Graph.draw(Graph.java:184)
      6. org.jzy3d.plot3d.rendering.scene.Graph.draw(Graph.java:174)
      7. org.jzy3d.plot3d.rendering.view.View.renderSceneGraph(View.java:934)
      8. org.jzy3d.plot3d.rendering.view.View.renderSceneGraph(View.java:921)
      9. org.jzy3d.plot3d.rendering.view.View.renderScene(View.java:756)
      10. org.jzy3d.plot3d.rendering.view.layout.ColorbarViewportLayout.render(ColorbarViewportLayout.java:56)
      10 frames
    4. org.jzy3d.chart
      ChartView.render
      1. org.jzy3d.chart.ChartView.render(ChartView.java:46)
      1 frame
    5. org.jzy3d.plot3d
      Renderer3d.reshape
      1. org.jzy3d.plot3d.rendering.view.Renderer3d.reshape(Renderer3d.java:110)
      1 frame
    6. JOGL
      GLDrawableHelper.reshape
      1. jogamp.opengl.GLDrawableHelper.reshape(GLDrawableHelper.java:692)
      2. jogamp.opengl.GLDrawableHelper.reshape(GLDrawableHelper.java:698)
      2 frames
    7. javax.media.opengl
      GLCanvas$10.run
      1. javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1285)
      1 frame
    8. JOGL
      GLDrawableHelper.invokeGL
      1. jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119)
      2. jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
      2 frames
    9. javax.media.opengl
      GLCanvas$11.run
      1. javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
      1 frame
    10. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:702)
      5. java.awt.EventQueue$3.run(EventQueue.java:696)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      14 frames