-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Bug Report
Problem
I am getting some crash reports on Google Play Console with the stack trace below. I am not sure if this issue is caused due to my application code or if this is an internal issue.
What is expected to happen?
Resume without exception.
What does actually happen?
See stack trace.
Information
Stack trace (That is all I have at the moment):
Exception java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5426)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5507)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:57)
at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:180)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:98)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2685)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8913)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window org.apache.cordova.inappbrowser.InAppBrowserDialog.getWindow()' on a null object reference
at org.apache.cordova.inappbrowser.InAppBrowser.onResume (InAppBrowser.java:373)
at org.apache.cordova.PluginManager.onResume (PluginManager.java:300)
at org.apache.cordova.CordovaWebViewImpl.handleResume (CordovaWebViewImpl.java:502)
at org.apache.cordova.CordovaActivity.onResume (CordovaActivity.java:287)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1603)
at android.app.Activity.performResume (Activity.java:9119)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5399)
Command or Code
Probably lock the screen or leave the app and then resume.
Environment, Platform, Device
Android 14 (SDK 34)
samsung gta7litewifi (Galaxy Tab A7 Lite)
Version information
"cordova-android": "^13.0.0
"cordova": "^12.0.0
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Metadata
Metadata
Assignees
Labels
No labels