I’m getting these errors in the wild in my CoronaCards Android app. This is deep in the Corona code and I don’t know how to reproduce or fix it. Can one of the Corona devs look into it? Fabric.io crash reporting tells me 96% of them are with Android 4 and 4% are with Android 5.
java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.ansca.corona.input.AxisType.fromAndroidIntegerId(AxisType.java:291)
at com.ansca.corona.input.InputDeviceInfo$ApiLevel12.getAxisInfoFrom(InputDeviceInfo.java:538)
at com.ansca.corona.input.InputDeviceInfo$ApiLevel9.fetchDeviceInfoFromAndroidDeviceId(InputDeviceInfo.java:426)
at com.ansca.corona.input.InputDeviceInfo.collectionFromAndroidDeviceId(InputDeviceInfo.java:282)
at com.ansca.corona.input.InputDeviceServices.updateCollectionWithAndroidDeviceId(InputDeviceServices.java:321)
at com.ansca.corona.input.InputDeviceServices.updateCollection(InputDeviceServices.java:299)
at com.ansca.corona.input.InputDeviceServices.fetchAll(InputDeviceServices.java:136)
at com.ansca.corona.input.InputDeviceServices.<init>(InputDeviceServices.java:59)
at com.ansca.corona.input.InputHandler.handleAxisEvent(InputHandler.java:158)
at com.ansca.corona.input.InputHandler.handle(InputHandler.java:126)
at com.ansca.corona.input.ViewInputHandler$EventHandler.onTouch(ViewInputHandler.java:151)
at android.view.View.dispatchTouchEvent(View.java:7772)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2316)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2013)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1985)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1985)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1985)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1985)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2109)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1541)
at android.app.Activity.dispatchTouchEvent(Activity.java:2491)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2057)
at android.view.View.dispatchPointerEvent(View.java:7973)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4403)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4274)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3820)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3870)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3839)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3946)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3847)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4003)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3820)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3870)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3839)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3847)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3820)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6152)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6115)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6069)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6297)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:138)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(NativeStart.java)