Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

IllegalStateException during "stress test" #55

Open
slisznia opened this issue Aug 15, 2014 · 0 comments
Open

IllegalStateException during "stress test" #55

slisznia opened this issue Aug 15, 2014 · 0 comments

Comments

@slisznia
Copy link

I'm able to easily reproduce the following exception when quickly deleting items from the listview. I have the "delete on click" enabled so deleting is much easier compared to "swipe to delete":

E/AndroidRuntime( 1832): 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(2131165219, class de.timroes.android.listview.EnhancedListView) with Adapter(class com.pushcoin.app.bitsypos.adapter.CartEntryArrayAdapter)]
E/AndroidRuntime( 1832): at android.widget.ListView.layoutChildren(ListView.java:1544)
E/AndroidRuntime( 1832): at android.widget.AbsListView$CheckForTap.run(AbsListView.java:2963)
E/AndroidRuntime( 1832): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 1832): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1832): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1832): at android.app.ActivityThread.main(ActivityThread.java:5063)
E/AndroidRuntime( 1832): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1832): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1832): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 1832): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 1832): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManagerService( 364): Force finishing activity com.pushcoin.app.bitsypos/.activity.ShoppingActivity

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant