com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' : #version required and missing. ERROR: 0:1: 'attribute' : syntax error: syntax error ERROR: 0:1: '' : #version required and missing. ERROR: 0:7: 'varying' : syntax error: syntax error on thread main-AWTAnimator#00


Solutions on the web

Solution icon of web
via raspberrypi.org by Unknown author, 1 year ago
com.jogamp.opengl.GLException: Caught IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' : #version required and missing. ERROR: 0:1: 'attribute' : syntax error: syntax error ERROR: 0:1: '' : #version required and missing. ERROR: 0:7: 'varying' : syntax error: syntax error on thread main-AWTAnimator#00

Solution icon of web
via jogamp.org by Unknown author, 1 year ago
com.jogamp.opengl.GLException: Caught IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' :  #version required and missing. ERROR: 0:1: 'attribute' : syntax error: syntax error ERROR: 0:1: '' :  #version required and missing. ERROR: 0:7: 'varying' : syntax error: syntax error  on thread main-AWTAnimator#00

Solution icon of stackoverflow
via Stack Overflow by informative
, 1 year ago
<capture#1-of ? extends HelloTriangle>, String, null, String, String, null, boolean) The method create(GL2ES2, int, int, Class<?>, String, String[], String, String, boolean) in the type ShaderCode is not applicable for the arguments (GL3, int, Class<capture#2-of ? extends HelloTriangle>, String, null, String, String, null, boolean) on thread main-AWTAnimator#00

Solution icon of github
via GitHub by io7m
, 9 months ago
com.jogamp.opengl.GLException: Caught NullPointerException: null on thread main-AWTAnimator#00

Solution icon of github
via GitHub by some-lizard
, 2 months ago
com.jogamp.opengl.GLException: Caught GLException: Method "glCreateBuffers" not available on thread main-AWTAnimator#00

Solution icon of github
com.jogamp.opengl.GLException: Caught GLException: unsupported binary format: 38225 on thread main-AWTAnimator#00

Solution icon of github
via GitHub by chalkie666
, 4 months ago
com.jogamp.opengl.GLException: Caught OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES on thread SciJava-2e5ee2c9-Thread-0-FPSAWTAnimator#00-Timer0

Solution icon of github
com.jogamp.opengl.GLException: Caught OpenCLException: OpenCL error: -10 -> CL_IMAGE_FORMAT_NOT_SUPPORTED on thread SciJava-c3c9c95-Thread-0-FPSAWTAnimator#00-Timer0

Solution icon of github
via GitHub by tischi
, 5 months ago
com.jogamp.opengl.GLException: Caught CLException: OpenCL Error : (make sure to log all errors with environment variable CL_LOG_ERRORS=stdout) on thread SciJava-5918c260-Thread-1-FPSAWTAnimator#00-Timer0

Solution icon of github
via GitHub by tischi
, 5 months ago
com.jogamp.opengl.GLException: Caught CLException: OpenCL Error : (make sure to log all errors with environment variable CL_LOG_ERRORS=stdout) on thread SciJava-41fe8e5f-Thread-2-FPSAWTAnimator#00-Timer0

Stack trace

com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:1: 'attribute' : syntax error: syntax error 
ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:7: 'varying' : syntax error: syntax error 
 on thread main-AWTAnimator#00 
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:84)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:451)
	at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:198)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.jogamp.opengl.GLException: Caught IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:1: 'attribute' : syntax error: syntax error 
ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:7: 'varying' : syntax error: syntax error 
 on thread main-AWTAnimator#00 
	at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:680)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:77)
	... 3 more
Caused by: java.lang.IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:1: 'attribute' : syntax error: syntax error 
ERROR: 0:1: '' :  #version required and missing. 
ERROR: 0:7: 'varying' : syntax error: syntax error 
	at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteBatch.java:157)
	at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:120)
	at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:73)
	at com.mygdx.game.MyGdxGame.create(MyGdxGame.java:15)
	at com.badlogic.gdx.backends.jogamp.JoglGraphics.init(JoglGraphics.java:88)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:641)
	at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:663)
	at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:430)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1275)
	... 6 more

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago