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. [in ListView(2131558619, class android.widget.ListView) with Adapter(class com.quinny898.library.persistentsearch.SearchBox$SearchAdapter)]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web666

  • Stack trace

    • 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. [in ListView(2131558619, class android.widget.ListView) with Adapter(class com.quinny898.library.persistentsearch.SearchBox$SearchAdapter)] at android.widget.ListView.layoutChildren(ListView.java:1544) at android.widget.AbsListView.onTouchModeChanged(AbsListView.java:3543) at android.view.ViewTreeObserver.dispatchOnTouchModeChanged(ViewTreeObserver.java:732) at android.view.ViewRootImpl.ensureTouchModeLocally(ViewRootImpl.java:3281) at android.view.ViewRootImpl.ensureTouchMode(ViewRootImpl.java:3265) at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3502) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3452) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4570) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4548) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:4652) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:171) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:125) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4952) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Ankita ChoudharyAnkita Choudhary
    2 times, last one
    Unknown visitor
    Unknown visitor3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    mukkymukky
    4 times, last one
    68 more bugmates