javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
in
Core Library Questions
•
1 year ago
what is that???
how could I correct it?
I am trying to run in ubuntu a pde wrote in mac., but this is the error that happens in ubuntu:
OpenGL error 1280 at top beginDraw(): invalid enumerant
textMode(SCREEN) has been removed from Processing 2.0.
textMode(256) is not supported by this renderer.
Exception in thread "Animation Thread" javax.media.opengl.GLException: javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:96)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:825)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:415)
at processing.opengl.PGL.requestDraw(PGL.java:928)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1441)
at processing.core.PApplet.run(PApplet.java:1867)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
at jogamp.opengl.gl4.GL4bcImpl.glGetShaderInfoLog(GL4bcImpl.java:10842)
at processing.opengl.PGL.glGetShaderInfoLog(PGL.java:1458)
at processing.opengl.PShader.compileVertexShader(PShader.java:711)
at processing.opengl.PShader.init(PShader.java:595)
at processing.opengl.PShader.getAttributeLoc(PShader.java:332)
at processing.opengl.PGraphicsOpenGL$PolyFlatShader.loadAttributes(PGraphicsOpenGL.java:6033)
at processing.opengl.PGraphicsOpenGL.getPolyShader(PGraphicsOpenGL.java:5953)
at processing.opengl.PGraphicsOpenGL.flushPolys(PGraphicsOpenGL.java:2473)
at processing.opengl.PGraphicsOpenGL.flush(PGraphicsOpenGL.java:2424)
at processing.opengl.PGraphicsOpenGL.loadPixels(PGraphicsOpenGL.java:4954)
at processing.opengl.PGraphicsOpenGL.getImpl(PGraphicsOpenGL.java:5044)
at processing.core.PImage.get(PImage.java:733)
at processing.core.PImage.get(PImage.java:764)
at processing.opengl.PGraphicsOpenGL.filter(PGraphicsOpenGL.java:5293)
at processing.core.PApplet.filter(PApplet.java:14291)
at xxx.anuncio(xxx.java:3108)
at xxx.setup(xxx.java:392)
at processing.core.PApplet.handleDraw(PApplet.java:1964)
at processing.opengl.PGL$PGLListener.display(PGL.java:2501)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:189)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:177)
at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:928)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:425)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:364)
at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:945)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
how could I correct it?
I am trying to run in ubuntu a pde wrote in mac., but this is the error that happens in ubuntu:
OpenGL error 1280 at top beginDraw(): invalid enumerant
textMode(SCREEN) has been removed from Processing 2.0.
textMode(256) is not supported by this renderer.
Exception in thread "Animation Thread" javax.media.opengl.GLException: javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:96)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:825)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:415)
at processing.opengl.PGL.requestDraw(PGL.java:928)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1441)
at processing.core.PApplet.run(PApplet.java:1867)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
at jogamp.opengl.gl4.GL4bcImpl.glGetShaderInfoLog(GL4bcImpl.java:10842)
at processing.opengl.PGL.glGetShaderInfoLog(PGL.java:1458)
at processing.opengl.PShader.compileVertexShader(PShader.java:711)
at processing.opengl.PShader.init(PShader.java:595)
at processing.opengl.PShader.getAttributeLoc(PShader.java:332)
at processing.opengl.PGraphicsOpenGL$PolyFlatShader.loadAttributes(PGraphicsOpenGL.java:6033)
at processing.opengl.PGraphicsOpenGL.getPolyShader(PGraphicsOpenGL.java:5953)
at processing.opengl.PGraphicsOpenGL.flushPolys(PGraphicsOpenGL.java:2473)
at processing.opengl.PGraphicsOpenGL.flush(PGraphicsOpenGL.java:2424)
at processing.opengl.PGraphicsOpenGL.loadPixels(PGraphicsOpenGL.java:4954)
at processing.opengl.PGraphicsOpenGL.getImpl(PGraphicsOpenGL.java:5044)
at processing.core.PImage.get(PImage.java:733)
at processing.core.PImage.get(PImage.java:764)
at processing.opengl.PGraphicsOpenGL.filter(PGraphicsOpenGL.java:5293)
at processing.core.PApplet.filter(PApplet.java:14291)
at xxx.anuncio(xxx.java:3108)
at xxx.setup(xxx.java:392)
at processing.core.PApplet.handleDraw(PApplet.java:1964)
at processing.opengl.PGL$PGLListener.display(PGL.java:2501)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:189)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:177)
at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:928)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:425)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:364)
at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:945)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
1