Processing Forum
Exception in thread "Animation Thread" java.lang.UnsupportedOperationExceptionat java.nio.FloatBuffer.array(FloatBuffer.java:940)at java.nio.FloatBuffer.array(FloatBuffer.java:240)at com.jogamp.common.nio.Buffers.getArray(Buffers.java:351)at jogamp.opengl.gl4.GL4bcImpl.glVertexPointer(GL4bcImpl.java:33134)at temp.setup(temp.java:91)at processing.core.PApplet.handleDraw(PApplet.java:2103)at processing.opengl.PGL$PGLListener.display(PGL.java:2593)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)