Hi Miguel, Difficult to be 100% sure, but I don't think so, I have several asynctask which updates my sqlite DB, but I update the GUI (changing cursor, etc.) in onPostExecute. I will definitively do a code rereading anyway about that.
What makes me ask question is the PopupWindow in the backtrace. So far in my code I only have a use of it from a quickaction implementation (check this excellent one: http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/) on ListView items. I am wondering what happens if the item in listview is deleted while quickaction popupwindow is open on it... 2011/2/23 Miguel Morales <therevolti...@gmail.com> > Are you sure you're not messing with the UI from another thread? > > On Wed, Feb 23, 2011 at 2:39 AM, Thierry Legras <tleg...@gmail.com> wrote: > >> Hi, >> >> I have got from time to time crash reports with such backtrace: >> >> java.lang.NullPointerException >> at >> android.widget.PopupWindow$PopupViewContainer.dispatchKeyEvent(PopupWindow.java:1350) >> at >> android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2368) >> at android.view.ViewRoot.deliverKeyEvent(ViewRoot.java:2328) >> at android.view.ViewRoot.handleMessage(ViewRoot.java:1647) >> at android.os.Handler.dispatchMessage(Handler.java:99) >> at android.os.Looper.loop(Looper.java:123) >> at android.app.ActivityThread.main(ActivityThread.java:4363) >> at java.lang.reflect.Method.invokeNative(Native Method) >> at java.lang.reflect.Method.invoke(Method.java:521) >> at >> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862) >> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) >> at dalvik.system.NativeStart.main(Native Method) >> >> Of course, I have never got such crash and no idea at all how to reproduce >> this :(( >> >> Any one has the beginning of a clue to fix this?? >> >> Thanks for any help, >> Thierry. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > -- > ~ Jeremiah:9:23-24 > Android 2D MMORPG: http://developingthedream.blogspot.com/, > http://www.youtube.com/user/revoltingx > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Thierry. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en