Closed carltonwhitehead closed 11 years ago
Created in response to a crash report received on Google Play
If you experienced this error, please comment if this description matches your experience.
clusterkraf.clear()
Steps 2-4 and 6 are not necessarily required, but will make it easier to repeat the problem, as they will increase the time spent in the problem code.
Sample Activity finishes, leaving the user at the MainActivity / Advanced Mode settings list
Sample app crashes
java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) at java.util.concurrent.FutureTask.setException(FutureTask.java:219) at java.util.concurrent.FutureTask.run(FutureTask.java:239) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:856) Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569) at com.twotoasters.clusterkraf.ClustersBuilder.addAll(ClustersBuilder.java:54) at com.twotoasters.clusterkraf.ClusteringTask.doInBackground(ClusteringTask.java:34) at com.twotoasters.clusterkraf.ClusteringTask.doInBackground(ClusteringTask.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) ... 3 more