Hi Mihai,
I get the same stack trace intermittently when deleting a group in
ExpandableListView. I think it's to do with whether your groups are
expanded. There's a bug raise on this issue here...
http://code.google.com/p/android/issues/detail?id=553
-Andy
On Feb 18, 2:34 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello
I have created an ExpandableListView with a CursorThreeAdapter.
Everything works fine until i want to modify some data in the cursor :
cursor.updateInt();
cursor.commitUpdates(); - at this moment i get this errors :
What do you think ? Is this a bug or just my problem ?
DEBUG/dalvikvm(1610): Exception Ljava/lang/NullPointerException;
fromCursorTreeAdapter.java:383 not caught locally
DEBUG/dalvikvm(1610): Exception Ljava/lang/NullPointerException; from
ZygoteInit.java:1553 not caught locally
DEBUG/AndroidRuntime(1610): Shutting down VM
WARN/dalvikvm(1610): threadid=3: thread exiting with uncaught
exception (group=0x4000fdf8)
ERROR/AndroidRuntime(1610): Uncaught handler: thread Main exiting due
to uncaught exception
ERROR/AndroidRuntime(1610): java.lang.NullPointerException
ERROR/AndroidRuntime(1610): at android.widget.CursorTreeAdapter
$MyCursorHelper$MyContentObserver.onChange(CursorTreeAdapter.java:383)
ERROR/AndroidRuntime(1610): at android.database.ContentObserver
$NotificationRunnable.run(ContentObserver.java:40)
ERROR/AndroidRuntime(1610): at
android.os.Handler.handleCallback(Handler.java:455)
ERROR/AndroidRuntime(1610): at
android.os.Handler.dispatchMessage(Handler.java:78)
ERROR/AndroidRuntime(1610): at android.os.Looper.loop(Looper.java:
91)
ERROR/AndroidRuntime(1610): at
android.app.ActivityThread.main(ActivityThread.java:3052)
ERROR/AndroidRuntime(1610): at
java.lang.reflect.Method.invokeNative(Native Method)
ERROR/AndroidRuntime(1610): at
java.lang.reflect.Method.invoke(Method.java:356)
ERROR/AndroidRuntime(1610): at android.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:1547)
ERROR/AndroidRuntime(1610): at
android.os.ZygoteInit.main(ZygoteInit.java:1445)
ERROR/AndroidRuntime(1610): at
android.dalvik.NativeStart.main(Native Method)
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---