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 | nils.hoffmann@web.de | 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. JOGL
      Threading.invoke
      1. javax.media.opengl.Threading.invoke(Threading.java:193)
      1 frame
    11. javax.media.opengl
      GLCanvas.paint
      1. javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
      2. javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:595)
      2 frames
    12. Java RT
      RepaintArea.paintComponent
      1. sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
      1 frame
    13. sun.awt.X11
      XRepaintArea.paintComponent
      1. sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:64)
      1 frame
    14. Java RT
      RepaintArea.paint
      1. sun.awt.RepaintArea.paint(RepaintArea.java:240)
      1 frame
    15. sun.awt.X11
      XComponentPeer.handleEvent
      1. sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:584)
      1 frame
    16. Java RT
      EventDispatchThread.run
      1. java.awt.Component.dispatchEventImpl(Component.java:4957)
      2. java.awt.Component.dispatchEvent(Component.java:4703)
      3. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
      4. java.awt.EventQueue.access$500(EventQueue.java:97)
      5. java.awt.EventQueue$3.run(EventQueue.java:702)
      6. java.awt.EventQueue$3.run(EventQueue.java:696)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      9. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
      10. java.awt.EventQueue$4.run(EventQueue.java:724)
      11. java.awt.EventQueue$4.run(EventQueue.java:722)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      14. java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
      15. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      16. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      17. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      18. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      20. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      20 frames