MotionEvent.nativeGetAxisValue() pointerIndex out of range error - Android 3.1 Only?

I recently started seeing a few errors in the market, but am unable to reproduced them on my devices. There are some reports that Android 3.1 tablet devices are the source of MotionEvent.nativeGetAxisValue() pointerIndex out of range errors. Any ideas?


java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:1549)
at com.ansca.corona.version.android8.AndroidVersionSpecific.motionEventGetX(Unknown Source)
at com.ansca.corona.CoronaActivity.onTouchEvent(Unknown Source)
at android.app.Activity.dispatchTouchEvent(Activity.java:2312)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1683)
at android.view.View.dispatchPointerEvent(View.java:4677)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2348)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2017)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4025)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
[import]uid: 4596 topic_id: 11487 reply_id: 311487[/import]

BUMP! I’m seeing these too, but have nothing helpful to add. [import]uid: 39505 topic_id: 11487 reply_id: 48470[/import]

I see the same error as well. Any ideas? Ansca Mobile folks?
java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:1549)
at com.ansca.corona.version.android8.AndroidVersionSpecific.motionEventGetX(Unknown Source)
at com.ansca.corona.CoronaActivity.onTouchEvent(Unknown Source)
at android.app.Activity.dispatchTouchEvent(Activity.java:2312)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1683)
at android.view.View.dispatchPointerEvent(View.java:4684)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2354)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2023)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4025)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method) [import]uid: 41124 topic_id: 11487 reply_id: 50248[/import]

UPDATE: Looks like the same error as the others…

java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:1549)
at com.ansca.corona.version.android8.AndroidVersionSpecific.motionEventGetX(Unknown Source)
at com.ansca.corona.CoronaActivity.onTouchEvent(Unknown Source)
at android.app.Activity.dispatchTouchEvent(Activity.java:2312)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1683)
at android.view.View.dispatchPointerEvent(View.java:4677)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2348)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2017)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4025)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
at dalvik.system.NativeStart.main(Native Method)
Device info for these 2 users:

3.0 Honeycomb - Motorola Xoom
3.2 Honeycomb - LG Optimus 2X and HTC Desire [import]uid: 39505 topic_id: 11487 reply_id: 51007[/import]

I’ve updated to latest Daily Build, and the tablet is running Android 3.1. Still seeing the errors when touching the screen with three fingers. 2 months, no fix? =’ ( [import]uid: 4596 topic_id: 11487 reply_id: 52426[/import]

Hey guys; what’s the bug#? [import]uid: 52491 topic_id: 11487 reply_id: 52649[/import]

@peach pellen

I submitted a bug: Case 7701

All that is necessary to replicate the crash is, system.activate( 'multitouch' ), run the app on an Android 3.1 tablet, and touch with three fingers. I’ve gotten 37 error reports from the android market this week. [import]uid: 4596 topic_id: 11487 reply_id: 52687[/import]

Noted! Thank you. Will pass this on to those with more power than myself :wink: [import]uid: 52491 topic_id: 11487 reply_id: 52732[/import]