Attempt to write to null array

edited November 2017 in Android Mode

I am testing my game that I made for android and it keeps giving me the error below:

FATAL EXCEPTION: GLThread 263 Process: processing.test.trimatelegacy, PID: 4879 java.lang.NullPointerException: Attempt to write to null array at processing.test.trimatelegacy.TrimateLegacy.setup( at processing.core.PApplet.handleDraw(Unknown Source:74) at processing.opengl.PSurfaceGLES$RendererGLES.onDrawFrame(Unknown Source:13) at android.opengl.GLSurfaceView$GLThread.guardedRun( at android.opengl.GLSurfaceView$

I have the code below: Legacy Code

Does anyone know what may be triggering that or if there was some sort of typo? I am new to the Android side of processing as I usually use the regular java version. Anything will be appreciated!


Sign In or Register to comment.