You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/10/19 16:10:05 UTC
[jira] [Closed] (CB-9823) App crashes due to a cursor not being
closed correctly in ContacsAccessor SDK5
[ https://issues.apache.org/jira/browse/CB-9823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov closed CB-9823.
--------------------------------
Resolution: Fixed
> App crashes due to a cursor not being closed correctly in ContacsAccessor SDK5
> ------------------------------------------------------------------------------
>
> Key: CB-9823
> URL: https://issues.apache.org/jira/browse/CB-9823
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Reporter: Vladimir Kotikov
> Assignee: Vladimir Kotikov
> Labels: android, contacts
>
> 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.
--
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