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(2131689687, class com.nextgis.mobile.fragment.ReorderedLayerViewAnimated) with Adapter(class com.nextgis.maplibui.fragment.LayersListAdapter)]

GitHub | BishopGIS | 3 months ago
  1. 0

    Crash while reorder layers on map

    GitHub | 3 months ago | BishopGIS
    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(2131689687, class com.nextgis.mobile.fragment.ReorderedLayerViewAnimated) with Adapter(class com.nextgis.maplibui.fragment.LayersListAdapter)]
  2. 0

    GitHub comment 399#246199171

    GitHub | 3 months ago | BishopGIS
    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(2131689687, class com.nextgis.mobile.fragment.ReorderedLayerViewAnimated) with Adapter(class com.nextgis.maplibui.fragment.LayersListAdapter)]
  3. 0

    Crash in CursorAdapter after deleting items

    Stack Overflow | 5 months ago | Georgy
    java.lang.IllegalStateException: couldn't move cursor to position 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android ListView in Navigation Drawer Layout

    Stack Overflow | 2 years ago | Mattia
    java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView
  6. 0

    Android Navigation Drawer Error

    Stack Overflow | 2 years ago | 20 Cents
    java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView

  1. sagar 1 times, last 9 months ago
4 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(2131689687, class com.nextgis.mobile.fragment.ReorderedLayerViewAnimated) with Adapter(class com.nextgis.maplibui.fragment.LayersListAdapter)]

    at android.widget.ListView.layoutChildren()
  2. Android Platform
    ViewGroup.layout
    1. android.widget.ListView.layoutChildren(ListView.java:1591)
    2. android.widget.AbsListView.onLayout(AbsListView.java:2202)
    3. android.view.View.layout(View.java:16655)
    4. android.view.ViewGroup.layout(ViewGroup.java:5438)
    5. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    6. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    7. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    8. android.view.View.layout(View.java:16655)
    9. android.view.ViewGroup.layout(ViewGroup.java:5438)
    9 frames
  3. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1215)
    1 frame
  4. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16655)
    2. android.view.ViewGroup.layout(ViewGroup.java:5438)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16655)
    6. android.view.ViewGroup.layout(ViewGroup.java:5438)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    9. android.view.View.layout(View.java:16655)
    10. android.view.ViewGroup.layout(ViewGroup.java:5438)
    11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    12. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    13. android.view.View.layout(View.java:16655)
    14. android.view.ViewGroup.layout(ViewGroup.java:5438)
    15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    17. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    18. android.view.View.layout(View.java:16655)
    19. android.view.ViewGroup.layout(ViewGroup.java:5438)
    20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    21 frames
  5. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2854)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:16655)
    2. android.view.ViewGroup.layout(ViewGroup.java:5438)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    9. android.view.Choreographer.doFrame(Choreographer.java:606)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
    11. android.os.Handler.handleCallback(Handler.java:739)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:5498)
    14 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. 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