Skip to content

DatabaseActivity crash on no-op release version #113

@JonatanPlesko

Description

@JonatanPlesko

✍️ Describe the bug

I got the following crash report:

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.sample.app/com.infinum.dbinspector.ui.databases.DatabasesActivity}: java.lang.IllegalStateException: Activity {com.sample.app/com.infinum.dbinspector.ui.databases.DatabasesActivity} did not call finish() prior to onResume() completing
       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4773)
       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4806)
       at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:54)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7872)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

💣 Steps to reproduce

Unfortunately don't have any steps since it is a Firebase Crashlytics report that I couldn't reproduce myself.

🔧 Expected behavior

No crash, especially not with the no-op version of the library 😓

📱 Tech info

  • Device: Nexus 5X
  • OS: Android 13
  • DbInspector version: 5.4.9

📄 Additional context

The app was not in background, and there is only this one singular crash on this device so far. The app is targeting and compiles with API 34.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions