{"action":"created","issue":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3833","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3833/labels{/name}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3833/comments","events_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3833/events","html_url":"https://github.com/ankidroid/Anki-Android/issues/3833","id":116280085,"number":3833,"title":"IllegalStateException: attempt to re-open an already-closed object","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones/9","html_url":"https://github.com/ankidroid/Anki-Android/milestones/v2.5%20Release","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones/9/labels","id":1229358,"number":9,"title":"v2.5 Release","description":"","creator":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":40,"state":"open","created_at":"2015-07-28T12:49:44Z","updated_at":"2015-12-28T10:38:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-11T07:15:59Z","updated_at":"2015-12-28T10:38:13Z","closed_at":"2015-12-28T10:38:13Z","body":"I'm not too sure what's going on here... The `onPostExecute()` method in question gives `buildDeckList()` a fresh reference to the Collection from `CollectionHelper.getInstance().getCol(this)` so the database should be open and ready.\r\n\r\nDirect [link to crash](https://ankidroid.org/couchdb/acralyzer/_design/acralyzer/index.html#/report-details/ankidroid/a586aca5-1d9e-4a48-85bc-41e1f56feca4)\r\n\r\njava.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /sdcard/AnkiDroid/collection.anki2\r\nat android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55)\r\nat android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1436)\r\nat android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1379)\r\nat com.ichi2.anki.AnkiDb.queryScalar(AnkiDb.java:149)\r\nat com.ichi2.anki.widgets.DeckAdapter.processNodes(DeckAdapter.java:241)\r\nat com.ichi2.anki.widgets.DeckAdapter.processNodes(DeckAdapter.java:232)\r\nat com.ichi2.anki.widgets.DeckAdapter.buildDeckList(DeckAdapter.java:143)\r\nat com.ichi2.anki.DeckPicker$21.onPostExecute(DeckPicker.java:1752)"},"comment":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/comments/167540350","html_url":"https://github.com/ankidroid/Anki-Android/issues/3833#issuecomment-167540350","issue_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3833","id":167540350,"user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T10:38:13Z","updated_at":"2015-12-28T10:38:13Z","body":"Probably fixed now"}}