Vladimir Kotikov created CB-9823:
------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]