[android-developers] Re: ArrayIndexOutOfBounds in Thread.getState() ...

2011-05-20 Thread Pent
            int state = thread.getStatus();             if(state != -1) {                 return VMThread.STATE_MAP[state]; // 812             } Thanks for tracking down the source :-) Since I only get one or two of these a week, I guess it's a SDK/device specific problem, only under

[android-developers] Re: ArrayIndexOutOfBounds in Thread.getState() ...

2011-05-19 Thread fadden
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 =