java.lang.IllegalStateException: /data/data/com.fitzsoftware.grocessaryList/databases/example.db SQLiteDatabase created and never closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Pinki
, 1 year ago
/data/data/com.fitzsoftware.grocessaryList/databases/example.db SQLiteDatabase created and never closed
via Google Groups by Unknown author, 5 months ago
/data/data/edu.nyu.cs.omnidroid.app/databases/omnidroid SQLiteDatabase created and never closed
via developerit.com by Unknown author, 1 year ago
/data/data/com.example.brown/databases/BRUNEWS_DB_01.db SQLiteDatabase created and never closed
via xda-developers.com by Unknown author, 1 year ago
/data/data/com.noshufou.android.su/databases/permissions.sqlite SQLiteDatabase created and never closed
via Appcelerator JIRA by Thomas Huelbert, 11 months ago
/data/data/com.appcelerator.KitchenSink/databases/quotes SQLiteDatabase created and never closed<br>
via anddev.org by Unknown author, 1 year ago
/data/data/com.SelectThree/databases/dbSelectThree.db SQLiteDatabase created and never closed
java.lang.IllegalStateException: /data/data/com.fitzsoftware.grocessaryList/databases/example.db SQLiteDatabase created and never closed
at android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1581)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:638)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:659)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:652)
at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:482)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
at com.fitzsoftware.grocessaryList.DataHelper.(DataHelper.java:46)
at com.fitzsoftware.grocessaryList.MyShoppingList.onCreate(MyShoppingList.java:63)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
at android.app.ActivityThread.access$2100(ActivityThread.java:116)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4203)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

Users with the same issue

15 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.