Two different issues here-- but both result in a similar exception being thrown. First instance is zooming in/out as fast as you can using as many fingers as you can on the screen. Easily reproducible on the HowDoIsample application. This results in a “java.lang.IllegalArgumentException: pointerIndex out of range” crash.
The second case : When a user is placing a polygon we want to restrict how the polygon is drawn. We wanted to do this while the user was actively drawing polygons - to accomplish this we added a VertexAdding event to the trackOverlay. if a vertex violated one of our drawing rules the intent was to set Cancel=true to reject that vertex. This works fine until you touch the screen to place the next point – when you touch the screen you get another pointer index out of range crash. Simples way to duplicate is add the VertexAdding even and set Cancel=true . 2nd point placed will result in crash. As mentioned we were placing a polygon when this happened.
I can attach the logcat dump files – but both issues are relatively easy to duplicate.