java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.myappmobile.test/com.myapp.myappmobile.activities.DashboardActivity_}: java.lang.IllegalStateException: getDatabase called recursively

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

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by Jeff Stapleton
, 1 year ago
Unable to start activity ComponentInfo{com.myapp.myappmobile.test/com.myapp.myappmobile.activities.DashboardActivity_}: java.lang.IllegalStateException: getDatabase called recursively
via Stack Overflow by Theophilus Ogundipe
, 2 years ago
Unable to start activity ComponentInfo{glmdnigltd.globaldigitalmagazine/glmdnigltd.globaldigitalmagazine.Login}: java.lang.IllegalStateException: Already attached
via Stack Overflow by Jason J
, 2 years ago
Unable to start activity ComponentInfo{com.example.jason.dodge/com.example.jason.dodge.MainActivity}: java.lang.IllegalStateException
via Stack Overflow by artzam
, 2 months ago
Unable to start activity ComponentInfo{com.xxx.xxx.xxx/com.xxx.xxx.xxx.MainActivity}: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called.
via google.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.bryan.fitness/com.example.bryan.fitness.MainActivity}: java.lang.IllegalStateException: await must not be called on the UI thread when time is greater than zero.
via Stack Overflow by Crown_Clown
, 1 year ago
Unable to start activity ComponentInfo{com.example.roman.armoredwarfare/com.example.roman.armoredwarfare.MapTab}: java.lang.IllegalStateException: Fragment PvPMap{11d5eb92} not attached to Activity
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.myappmobile.test/com.myapp.myappmobile.activities.DashboardActivity_}: java.lang.IllegalStateException: getDatabase called recursively
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
212 more bugmates

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