You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
Cause exception: "android.database.StaleDataException: Attempting to access a closed CursorWindow.Most probable cause: cursor is deactivated prior to calling this method."
The text was updated successfully, but these errors were encountered:
in PrimitiveCursorHelper.java line 23 in the "getIntegers" method i find this :
public static List<Integer> getIntegers(SQLiteDatabase db, long objectId, String variable) {
List<Integer> objects = new ArrayList<Integer>();
Cursor cursor = db.rawQuery("SELECT value FROM MODEL_INT WHERE _object_id = ? AND _field_name= ?", new String[]{String.valueOf(objectId), variable});
cursor.moveToFirst();
while (!cursor.isAfterLast()) {
objects.add(cursor.getInt(0));
cursor.moveToNext();
cursor.close();
}
return objects;
}
Cause exception: "android.database.StaleDataException: Attempting to access a closed CursorWindow.Most probable cause: cursor is deactivated prior to calling this method."
The text was updated successfully, but these errors were encountered: