Crash during filter
See original GitHub issueThis is randomly crash and hard to duplicated, but I want to track here and hope you take a look. It occurred while I typing the keyword to filter my long list.
Caused by java.util.ConcurrentModificationException
java.util.ArrayList$ArrayListIterator.next (ArrayList.java:573)
eu.davidea.flexibleadapter.FlexibleAdapter.filterItemsAsync (FlexibleAdapter.java:3924)
eu.davidea.flexibleadapter.FlexibleAdapter.access$2100 (FlexibleAdapter.java:98)
eu.davidea.flexibleadapter.FlexibleAdapter$FilterAsyncTask.doInBackground (FlexibleAdapter.java:5287)
eu.davidea.flexibleadapter.FlexibleAdapter$FilterAsyncTask.doInBackground (FlexibleAdapter.java:5253)
android.os.AsyncTask$2.call (AsyncTask.java:295)
java.util.concurrent.FutureTask.run (FutureTask.java:237)
android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:234)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
java.lang.Thread.run (Thread.java:818)
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Excel slowness & crash when filter - Microsoft Community
From your description, it seems that your Excel file kept crashing when opening it under regular mode and safe mode. However, it works...
Read more >Crash analysis: Group and filter your crashes
Slice and dice your crash and network data (using groups and filters) to analyze trends leading ... To view the filterable Crash list...
Read more >Filters suddenly crashing large sheets that previously worked ...
I'm trying to test on smaller subsets of data but I haven't narrowed down the issue at this point. Details. Sheets,Microsoft Windows,Business.
Read more >Issue #49432: crash in filter optimization - 389-ds-base
Doing a search using a filter like this crashes the server: ldapsearch -b "dc=example,dc=com" "(&(uid=mreynolds)(&(sn=reynolds)(givenname=mark)))".
Read more >Crash when using filter - Google Groups
I can reproduce a crash in GC when I run a bad filter. I am trying to find out how to search for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@IHNEL, I’m optimizing the initialization, the update and filter processes, you can already start to have a look at the commits in the branch list_copy.
I should add
Collections.synchronizedList(list);
in my code, because if you do, then there’s a cast to List again in my code. So you need to wait the snapshot.