Page MenuHomePhabricator

[Crash] IllegalStateException in ListView.layoutChildren()
Closed, ResolvedPublic


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(2131624117, class android.widget.ListView) with Adapter(class$TabListAdapter)]
at android.widget.ListView.layoutChildren(
at android.widget.AbsListView.onTouchModeChanged(
at android.view.ViewTreeObserver.dispatchOnTouchModeChanged(
at android.view.ViewRootImpl.ensureTouchModeLocally(
at android.view.ViewRootImpl.performTraversals(
at android.view.ViewRootImpl.doTraversal(
at android.view.ViewRootImpl$
at android.view.Choreographer$
at android.view.Choreographer.doCallbacks(
at android.view.Choreographer.doFrame(
at android.view.Choreographer$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(

Event Timeline

Dbrant created this task.Feb 8 2016, 3:31 PM
Dbrant raised the priority of this task from to High.
Dbrant updated the task description. (Show Details)
Dbrant moved this task to Next Sprint on the Wikipedia-Android-App-Backlog board.
Dbrant added a subscriber: Dbrant.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 8 2016, 3:31 PM
Dbrant claimed this task.Feb 8 2016, 3:59 PM
Dbrant set Security to None.

Change 269150 had a related patch set uploaded (by Dbrant):
Fix possible crash when laying out tab list.

Change 269150 merged by jenkins-bot:
Fix possible crash when laying out tab list.

Johsthao closed this task as a duplicate of T126250: <spam>.Feb 8 2016, 6:24 PM
matmarex reopened this task as Open.Feb 8 2016, 6:32 PM

Checked adding/deleting tabs with 2.1.141-alpha-2016-02-12 on Nexus 5 (Android 5.1.1) - no crashes

Dbrant closed this task as Resolved.Feb 15 2016, 4:39 PM
Dbrant moved this task from To Do to Done on the Mobile-App-Android-Sprint-75-Rhenium board.