question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash during filter

See original GitHub issue

This 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:closed
  • Created 7 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
davideascommented, Mar 28, 2017

@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.

1reaction
davideascommented, Mar 16, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found