Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9823

App crashes due to a cursor not being closed correctly in ContacsAccessor SDK5

    XMLWordPrintableJSON

Details

    Description

      Sometimes the app would crash with the following error:
      android.database.CursorWindowAllocationException: Cursor window could not be created from binder
      The stacktrace points to ContactAccessorSdk5.java:910

      According to this StackOverflow thread this is due to a cursor not being closed correctly. Indeed, if photoCursor.moveToFirst() returns true, photoCursor.close() was never called.

      Attachments

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: