You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/19 15:46:05 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14963323#comment-14963323 ]
ASF subversion and git services commented on CB-9823:
-----------------------------------------------------
Commit e928b520eaf70c9128e9c21e36eab107d90729cf in cordova-plugin-contacts's branch refs/heads/master from [~gho@ezos.com]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=e928b52 ]
CB-9823 Making sure the photoCursor is always closed.
This closes #61, closes #69
> 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