Hello, got the error below reported to me when reading a Contact.  I
am clueless as to what the problem.  The same code works almost every
time as I've only had this one report and I've never seen it happen
during testing.

The query I am exectuing is simply:

context.getContentResolver().query(Uri.parse(token), null, null, null,
null)

The token is just the URI originally obtained using
RawContacts.getContactLookupUri()

Anybody has any ideas what the problem could be or how to debug this?

Thanks!


java.lang.IllegalStateException: Couldn't init cursor window
at android.os.Parcel.readException(Parcel.java:1255)
at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
160)
at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
114)
at
android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:
372)
at
android.content.ContentProviderProxy.query(ContentProviderNative.java:
408)
at android.content.ContentResolver.query(ContentResolver.java:245)
at
com.zvasvari.anmoneyp.devicecontacts.android5contacts.ContactsImpl.existsByToken(ContactsImpl.java:
331)
at
com.zvasvari.anmoneyp.app.contact.payee.activity.PayeeUtil.isExternal(PayeeUtil.java:
208)
at
com.zvasvari.anmoneyp.app.contact.payee.activity.List.isExternal(List.java:
51)
at
com.zvasvari.anmoneyp.app.contact.activity.List.bindListItemView(List.java:
411)
at com.zvasvari.anmoneyp.app.contact.activity.List
$2.bindView(List.java:390)

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