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(TrimateLegacy.java:108) at processing.core.PApplet.handleDraw(Unknown Source:74) at processing.opengl.PSurfaceGLES$RendererGLES.onDrawFrame(Unknown Source:13) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)

I have the code below:

https://github.com/rockyhawk64/Trimate/blob/master/Trimate 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!

Answers

Sign In or Register to comment.