android - java.lang.IllegalStateException: attempt to re-open an already-closed object SQLiteQuery -


04-29 18:24:24.676: e/androidruntime(5640): fatal exception: main 04-29 18:24:24.676: e/androidruntime(5640): process: com.example.mapsproject, pid: 5640 04-29 18:24:24.676: e/androidruntime(5640): java.lang.illegalstateexception: attempt re-open already-closed object: sqlitequery: select distinct _id, name, loc, lat, lng, zoom, uid mapsproject group uid 04-29 18:24:24.676: e/androidruntime(5640):     @ android.database.sqlite.sqliteclosable.acquirereference(sqliteclosable.java:55) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.database.sqlite.sqlitequery.fillwindow(sqlitequery.java:58) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.database.sqlite.sqlitecursor.fillwindow(sqlitecursor.java:152) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.database.sqlite.sqlitecursor.onmove(sqlitecursor.java:124) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.database.abstractcursor.movetoposition(abstractcursor.java:214) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.cursoradapter.getview(cursoradapter.java:245) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.abslistview.obtainview(abslistview.java:2347) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.listview.makeandaddview(listview.java:1864) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.listview.filldown(listview.java:698) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.listview.fillfromtop(listview.java:759) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.listview.layoutchildren(listview.java:1673) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.abslistview.onlayout(abslistview.java:2151) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.view.layout(view.java:15671) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewgroup.layout(viewgroup.java:5038) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.relativelayout.onlayout(relativelayout.java:1076) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.view.layout(view.java:15671) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewgroup.layout(viewgroup.java:5038) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.framelayout.layoutchildren(framelayout.java:579) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.framelayout.onlayout(framelayout.java:514) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.view.layout(view.java:15671) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewgroup.layout(viewgroup.java:5038) 04-29 18:24:24.676: e/androidruntime(5640):     @ com.android.internal.widget.actionbaroverlaylayout.onlayout(actionbaroverlaylayout.java:494) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.view.layout(view.java:15671) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewgroup.layout(viewgroup.java:5038) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.framelayout.layoutchildren(framelayout.java:579) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.widget.framelayout.onlayout(framelayout.java:514) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.view.layout(view.java:15671) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewgroup.layout(viewgroup.java:5038) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewrootimpl.performlayout(viewrootimpl.java:2086) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewrootimpl.performtraversals(viewrootimpl.java:1843) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewrootimpl.dotraversal(viewrootimpl.java:1061) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.viewrootimpl$traversalrunnable.run(viewrootimpl.java:5885) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.choreographer$callbackrecord.run(choreographer.java:767) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.choreographer.docallbacks(choreographer.java:580) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.choreographer.doframe(choreographer.java:550) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.view.choreographer$framedisplayeventreceiver.run(choreographer.java:753) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.os.handler.handlecallback(handler.java:739) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.os.handler.dispatchmessage(handler.java:95) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.os.looper.loop(looper.java:135) 04-29 18:24:24.676: e/androidruntime(5640):     @ android.app.activitythread.main(activitythread.java:5254) 04-29 18:24:24.676: e/androidruntime(5640):     @ java.lang.reflect.method.invoke(native method) 04-29 18:24:24.676: e/androidruntime(5640):     @ java.lang.reflect.method.invoke(method.java:372) 04-29 18:24:24.676: e/androidruntime(5640):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:903) 04-29 18:24:24.676: e/androidruntime(5640):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:698) 

your sqlite database object closed. please re-open database object , perform query operation.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -