That is definitely strange.  I can't see any reason why that exception
would be thrown from that point.

If you suspect that the object has been damaged, there's an excellent
chance that your improved exception handler will throw an exception.
Or crash.  Either way you will have learned something new. :-)

Future versions of the VM do show additional detail on array index
problems.

Is there any native code involved?  JNI code can generate array bounds
exceptions, and if somebody crossed up JNIEnv* it could end up on the
wrong thread.  Of course, it's *highly* unlikely that multiple
occurrences on different devices would have the same stack trace if
the failure is actually happening elsewhere.

There are no exceptions involved in floating-point division by zero on
Android (other than whatever the VFP hardware does internally).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to