Hi,

my app has some strange errors on some devices. The problem is that I
cannot reproduce it on my device (ADP1 with JF1.5) and also not in the
emulator (1.1 and 1.5). But some users encounter this error and here
is the log output from him.

onResume only calls to super and to refresh().

And refresh() does eventually (if query changed) query a new
managedQuery cursor and assign it via changeCursor to a derived
ResourceCursorAdapter.

I really don't unterstand what the problem is... can someone help me?

E/AndroidRuntime( 1296): java.lang.RuntimeException: Unable to resume
activity {de.softxperience.android.noteeverything/
de.softxperience.android.noteeverything.NotesList}:
java.lang.IllegalStateException: get field slot from row 0 col 9
failed
E/AndroidRuntime( 1296): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2632)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2647)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2287)
E/AndroidRuntime( 1296): at android.app.ActivityThread.access$1800
(ActivityThread.java:112)
E/AndroidRuntime( 1296): at android.app.ActivityThread$H.handleMessage
(ActivityThread.java:1692)
E/AndroidRuntime( 1296): at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 1296): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1296): at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 1296): at java.lang.reflect.Method.invokeNative
(Native Method)
E/AndroidRuntime( 1296): at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 1296): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1296): at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:540)
E/AndroidRuntime( 1296): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 1296): Caused by: java.lang.IllegalStateException:
get field slot from row 0 col 9 failed
E/AndroidRuntime( 1296): at
android.database.CursorWindow.getLong_native(Native Method)
E/AndroidRuntime( 1296): at android.database.CursorWindow.getLong
(CursorWindow.java:329)
E/AndroidRuntime( 1296): at
android.database.AbstractWindowedCursor.getLong
(AbstractWindowedCursor.java:108)
E/AndroidRuntime( 1296): at
android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
194)
E/AndroidRuntime( 1296): at
android.database.CursorWrapper.moveToPosition(CursorWrapper.java:187)
E/AndroidRuntime( 1296): at android.widget.CursorAdapter.getItemId
(CursorAdapter.java:155)
E/AndroidRuntime( 1296): at
android.widget.AdapterView.getItemIdAtPosition(AdapterView.java:742)
E/AndroidRuntime( 1296): at
android.widget.AdapterView.setSelectedPositionInt(AdapterView.java:
1044)
E/AndroidRuntime( 1296): at android.widget.ListView.setAdapter
(ListView.java:435)
E/AndroidRuntime( 1296): at android.app.ListActivity.setListAdapter
(ListActivity.java:258)
E/AndroidRuntime( 1296): at
de.softxperience.android.noteeverything.NotesList.refresh
(NotesList.java:750)
E/AndroidRuntime( 1296): at
de.softxperience.android.noteeverything.NotesList.onResume
(NotesList.java:153)
E/AndroidRuntime( 1296): at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:
1225)
E/AndroidRuntime( 1296): at android.app.Activity.performResume
(Activity.java:3530)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2619)
E/AndroidRuntime( 1296): ... 12 more

--~--~---------~--~----~------------~-------~--~----~
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