Dear,

I meet a strange problem.

I create a TabActivity from Several ListActivities.

The lists are created from a cursor load in a AsyncQueryHandler.
I have got no problem to load the content of the list.

After that I run an insert in the AsyncQueryHandler, and I meet the
following error. The insert is done by the listActivity.

If I run my listActivity individually and that I do my insert,
everything is find. Do know why ?

08-12 14:30:01.427: ERROR/AndroidRuntime(1599): FATAL EXCEPTION:
AsyncQueryWorker
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):
java.lang.NullPointerException
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.content.ContentResolver.acquireProvider(ContentResolver.java:
727)
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.content.ContentResolver.insert(ContentResolver.java:581)
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.content.AsyncQueryHandler
$WorkerHandler.handleMessage(AsyncQueryHandler.java:96)
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.os.Handler.dispatchMessage(Handler.java:99)
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.os.Looper.loop(Looper.java:123)
08-12 14:30:01.427: ERROR/AndroidRuntime(1599):     at
android.os.HandlerThread.run(HandlerThread.java:60)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to