android.database.CursorWindowAllocationException: Cursor window could not be created from binder.

Stack Overflow | Gene Cahill | 4 months ago
  1. 0

    CursorWindowAllocationException thrown in SyncAdapter

    Stack Overflow | 4 months ago | Gene Cahill
    android.database.CursorWindowAllocationException: Cursor window could not be created from binder.
  2. 0

    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)

    Apache's JIRA Issue Tracker | 1 year ago | Martin Cassidy
    android.database.CursorWindowAllocationException: Cursor window could not be created from binder.
  3. 0

    Some ashmem based objects can not be created due to file descriptor leak - CSDN博客

    csdn.net | 1 year ago
    android.database.CursorWindowAllocationException: Cursor window could not be created from binder.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CursorWindowAllocationException from MediaStore.Images.Thumbnails.getThumbnail

    Stack Overflow | 1 year ago | Gili Garibi
    android.database.CursorWindowAllocationException: Cursor window could not be created from binder.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.database.CursorWindowAllocationException

      Cursor window could not be created from binder.

      at android.database.CursorWindow.<init>()
    2. Android Platform
      ContentProviderClient.query
      1. android.database.CursorWindow.<init>(CursorWindow.java:150)
      2. android.database.CursorWindow.<init>(CursorWindow.java:42)
      3. android.database.CursorWindow$1.createFromParcel(CursorWindow.java:698)
      4. android.database.CursorWindow$1.createFromParcel(CursorWindow.java:696)
      5. android.database.BulkCursorDescriptor.readFromParcel(BulkCursorDescriptor.java:75)
      6. android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:34)
      7. android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:30)
      8. android.content.ContentProviderProxy.query(ContentProviderNative.java:424)
      9. android.content.ContentProviderClient.query(ContentProviderClient.java:161)
      10. android.content.ContentProviderClient.query(ContentProviderClient.java:123)
      10 frames
    3. com.forever.forever
      SyncAdapter.onPerformSync
      1. com.forever.forever.Utils.sync.SyncAdapter.getNextItemInUploadQueue(SyncAdapter.java:799)
      2. com.forever.forever.Utils.sync.SyncAdapter.proccessUploads(SyncAdapter.java:697)
      3. com.forever.forever.Utils.sync.SyncAdapter.onPerformSync(SyncAdapter.java:199)
      3 frames
    4. Android Platform
      AbstractThreadedSyncAdapter$SyncThread.run
      1. android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
      1 frame