RushOrm
RushOrm copied to clipboard
Close cursor on null twice or more
Hey,
the detailed error is "W/SQLiteCursor﹕ Close cursor android.database.sqlite.SQLiteCursor@2e23c6f3 on null twice or more" i get this error pretty often. I thought first i comes from my testing, if a object is in a database. Like you did in the doc with "new RushSearch().whereId(id).findSingle(Object.class)", because sometimes is produces null. But that wasnt the reason for all the produced error messages What else could produce this error ? And is this error problematic in any way or can i somehow ignore it?
I hope i could express the problem. Thanks in advance
P.S. Could i somehow test the existence of a object a other way ?
Mh. Maybe it is this. For example, Somehow i get the the error two times when i use this search:
new RushSearch().whereId(doc_id).findSingle(Document.class)
The doc is existing and i get all saved objects how it should be. no problems. But i get the error twice.
Hi,
Not to sure why you are seeing that. From a quick search all I can see is someone suggestion catching the error which seems pretty pointless.
I will keep an eye out for it see if I can get a satisfactory resolution.
Thanks