Skip to content

Instantly share code, notes, and snippets.

@avram avram/gist:1240306
Created Sep 25, 2011

Embed
What would you like to do?
stacktrace - db hygiene
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): java.lang.RuntimeException: java.lang.IllegalStateException: attempt to re-open an already-closed object: android.database.sqlite.SQLiteDatabase (database = /data/data/com.gimranov.zandy.client/databases/Zotero)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.XMLResponseParser.parse(XMLResponseParser.java:262)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.issue(ZoteroAPITask.java:377)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doFetch(ZoteroAPITask.java:121)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doInBackground(ZoteroAPITask.java:98)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doInBackground(ZoteroAPITask.java:1)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at java.lang.Thread.run(Thread.java:1096)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): Caused by: java.lang.IllegalStateException: attempt to re-open an already-closed object: android.database.sqlite.SQLiteDatabase (database = /data/data/com.gimranov.zandy.client/databases/Zotero)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:34)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:61)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1345)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1229)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1184)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1301)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.data.Database.query(Database.java:44)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.data.Item.load(Item.java:469)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.data.Item.save(Item.java:431)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.XMLResponseParser$2.end(XMLResponseParser.java:137)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.sax.RootElement$Handler.endElement(RootElement.java:188)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatParser.endElement(ExpatParser.java:160)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatParser.append(Native Method)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:521)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:482)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:320)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:277)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android.util.Xml.parse(Xml.java:87)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.XMLResponseParser.parse(XMLResponseParser.java:254)
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): ... 10 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.