com.jogamp.opengl.GLException: Caught IllegalArgumentException: requirement failed: Failed to add light: Only a maximum of 8 lights is supported in OpenGL. on thread AWT-EventQueue-0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by nicolaspayette
, 1 year ago
Caught IllegalArgumentException: requirement failed: Failed to add light: Only a maximum of 8 lights is supported in OpenGL. on thread AWT-EventQueue-0
via GitHub by cx20
, 9 months ago
Caught GLException: Not a GL3 implementation on thread AWT-EventQueue-0
via GitHub by codingberlin
, 2 years ago
Caught IllegalArgumentException: Could not find ready.0 in image map. on thread AWT-EventQueue-0
via Stack Overflow by collenjones
, 8 months ago
Caught GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glActiveTexture(<int> 0x84C0): GL_INVALID_OPERATION ( 1282 0x502), on thread AWT-EventQueue-0
via GitHub by hqnghi88
, 1 year ago
Caught RuntimeException: java.lang.NullPointerException on thread main
via GitHub by ThomasLengeling
, 2 years ago
Caught RuntimeException: GL function glVertexAttribPointer() is not available on this hardware (or driver) Read http://wiki.processing.org/w/OpenGL_Issues for help. on thread main-Display-.macosx_nil-1-EDT-1
com.jogamp.opengl.GLException: Caught IllegalArgumentException: requirement failed: Failed to add light: Only a maximum of 8 lights is supported in OpenGL. on thread AWT-EventQueue-0
at scala.Predef$.require(Predef.scala:224)
at org.nlogo.gl.render.LightManager.addLight(Lighting.scala:41)
at org.nlogo.gl.render.Renderer.init(Renderer.java:192)
at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
at com.jogamp.opengl.awt.GLCanvas$10.run(GLCanvas.java:1407)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.opengl.awt.GLCanvas$12.run(GLCanvas.java:1438)
at com.jogamp.opengl.Threading.invoke(Threading.java:223)
at com.jogamp.opengl.awt.GLCanvas.display(GLCanvas.java:505)
at com.jogamp.opengl.awt.GLCanvas.paint(GLCanvas.java:559)
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:4965)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
16 times, 7 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.