cats-oss / android-gpuimage

Android filters based on OpenGL (idea from GPUImage for iOS)
9.01k stars 2.27k forks source link

ConcurrentModificationException #363

Open lomal788 opened 7 years ago

lomal788 commented 7 years ago

there is error when I saving image

Fatal Exception: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573) at jp.co.cyberagent.android.gpuimage.GPUImageFilterGroup.onInit(Unknown Source) at jp.co.cyberagent.android.gpuimage.GPUImageFilter.init(Unknown Source) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer$3.run(Unknown Source) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.runAll(Unknown Source) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(Unknown Source) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1523) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=3; index=3 at jp.co.cyberagent.android.gpuimage.GPUImageFilterGroup.onDraw(Unknown Source) at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(Unknown Source) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1562) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1262)