You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/10/27 22:53:27 UTC
[jira] [Updated] (CB-9630) CursorWindowAllocationException
[ https://issues.apache.org/jira/browse/CB-9630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-9630:
---------------------------
Labels: Android (was: )
Component/s: (was: Android)
Plugin Contacts
> CursorWindowAllocationException
> -------------------------------
>
> Key: CB-9630
> URL: https://issues.apache.org/jira/browse/CB-9630
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Reporter: Martin Cassidy
> Labels: Android
>
> Whilst running a contacts lookup (with many 1000s of auto generated contacts as I'm testing performance) I experienced the following exception:
> android.database.CursorWindowAllocationException: Cursor window could not be created from binder
> {code}
> android.database.CursorWindowAllocationException: Cursor window could not be created from binder.
> at android.database.CursorWindow.<init>(CursorWindow.java:150)
> at android.database.CursorWindow.<init>(CursorWindow.java:42)
> at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:698)
> at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:696)
> at android.database.BulkCursorDescriptor.readFromParcel(BulkCursorDescriptor.java:75)
> at android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:34)
> at android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:30)
> at android.content.ContentProviderProxy.query(ContentProviderNative.java:423)
> at android.content.ContentResolver.query(ContentResolver.java:484)
> at android.content.ContentResolver.query(ContentResolver.java:428)
> at org.apache.cordova.contacts.ContactAccessorSdk5.photoQuery(ContactAccessorSdk5.java:910)
> at org.apache.cordova.contacts.ContactAccessorSdk5.populateContactArray(ContactAccessorSdk5.java:439)
> at org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:271)
> at org.apache.cordova.contacts.ContactManager$1.run(ContactManager.java:93)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> at java.lang.Thread.run(Thread.java:818)
> {code}
> From the following post, I can see why: http://stackoverflow.com/questions/14316082/cursor-window-could-not-be-created-from-binder
> {code}photoCursor.close();{code} is being called only when the cursor is not empty. I've made an update to my copy but though I should report it as well.
> I only started to notice after upgrading a device to 5.0.1 (have devices on older android versions that are ok)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org