[android-developers] Re: ArrayIndexOutOfBounds in Thread.getState() ...
On May 18, 1:56 pm, Pent <supp...@apps.dinglisch.net> wrote:
> Caused by: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.Thread.getState(Thread.java:812)
> at net.dinglisch.android.taskerm.ExecuteService.onStart(Unknown
> Source)
Weird. That line is:
int state = thread.getStatus();
if(state != -1) {
return VMThread.STATE_MAP[state]; // 812
}
The STATE_MAP array has Thread.State entries for all valid thread
states, suggesting that the thread is in some weird state.
Unfortunately the exception doesn't say what element it was trying to
access. (Newer versions of the VM and core libs are more verbose on
these exceptions.)
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home