We recently deployed our Ionic 6 app and Google Play Console Crashes and ANRs are reporting 2 reoccurring crashes related to com.getcapacitor.Bridge.launchIntent (java.lang.NullPointerException).
The stack trace reports the following:
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.getcapacitor.Bridge.launchIntent (Bridge.java:374)
at com.getcapacitor.BridgeWebViewClient.shouldOverrideUrlLoading (BridgeWebViewClient.java:28)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (chromium-TrichromeWebViewGoogle6432.aab-stable-593814033:93)
at android.os.MessageQueue.nativePollOnce
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loopOnce (Looper.java:186)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8762)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Is there a guide available to assist with tracing the root cause of the exception back to our source code?