java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131624187, class android.widget.ListView) with Adapter(class openfoodfacts.github.scrachx.openfood.views.adapters.SaveListAdapter)]

GitHub | teolemon | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    FATAL EXCEPTION: main Process: openfoodfacts.github.scrachx.openfood, PID: 32670 java.lang.IllegalStateException

    GitHub | 4 months ago | teolemon
    java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131624187, class android.widget.ListView) with Adapter(class openfoodfacts.github.scrachx.openfood.views.adapters.SaveListAdapter)]
  2. 0

    FATAL EXCEPTION: main Process: openfoodfacts.github.scrachx.openfood, PID: 32670 java.lang.IllegalStateException

    GitHub | 4 months ago | teolemon
    java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131624187, class android.widget.ListView) with Adapter(class openfoodfacts.github.scrachx.openfood.views.adapters.SaveListAdapter)]
  3. 0

    Strange Exception

    GitHub | 5 months ago | Vierheller
    java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131558578, class android.widget.ListView) with Adapter(class de.grau.organizer.adapters.EventsListAdapter)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash on threadList, unclear cause.

    GitHub | 2 years ago | sylkai
    java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(16908298, class android.widget.ListView) with Adapter(class com.geekeclectic.android.stashcache.StashThreadListFragment$ThreadAdapter)]
  6. 0

    App Crashes on list view item click?

    Stack Overflow | 9 months ago | Mriyadh
    java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131427425, class android.widget.ListView) with Adapter(class com.example.mohammedriyadh.backendless1.ContactAdapter)]

  1. filpgame 5 times, last 5 months ago
  2. mukky 4 times, last 7 months ago
  3. Akshay 1 times, last 9 months ago
  4. asvid 2 times, last 10 months ago
  5. lribeiro 5 times, last 10 months ago
8 more registered users
54 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131624187, class android.widget.ListView) with Adapter(class openfoodfacts.github.scrachx.openfood.views.adapters.SaveListAdapter)]

    at android.widget.ListView.layoutChildren()
  2. Android Platform
    ActivityThread.main
    1. android.widget.ListView.layoutChildren(ListView.java:1573)
    2. android.widget.AbsListView$CheckForTap.run(AbsListView.java:3311)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5461)
    6 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames