Skip to content

Crash at ActivityTabWebContentsDelegateAndroid #53285

@AlexeyBarabash

Description

@AlexeyBarabash

Description

There is a crash report on GP console with a stack

Exception org.chromium.base.JniAndroid$UncaughtExceptionException:
  at org.chromium.base.JniAndroid$UncaughtExceptionException.<init> (JniAndroid.java:55)
  at org.chromium.base.JniAndroid.handleException (JniAndroid.java:96)
  at android.os.MessageQueue.nativePollOnce
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:179)
  at android.os.Looper.loop (Looper.java:344)
  at android.app.ActivityThread.main (ActivityThread.java:8249)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:589)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1071)
Caused by java.lang.NullPointerException:
  at org.chromium.chrome.browser.app.tab_activity_glue.ActivityTabWebContentsDelegateAndroid.requestPointerLock (ActivityTabWebContentsDelegateAndroid.java:742)
  at org.chromium.chrome.browser.tab.TabWebContentsDelegateAndroidImpl.requestPointerLock (TabWebContentsDelegateAndroidImpl.java:553)

Reported by @SergeyZhukovsky .
This is already fixed at cr147:
chromium/chromium@ad0cd3b
but still an issue at our cr146-based branches.

Steps to reproduce

N/A, as it was reported at GP console

Actual result

crash

Expected result

no crash

Reproduces how often

No steps to reproduce

Brave version

1.89.81

Device

  • Brand/model: Redmi Redmi Note 9S
  • Android version: 12
    But this is irrelevant

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Metadata

Metadata

Labels

OS/AndroidFixes related to Android browser functionalityQA/Nocrashpriority/P2A bad problem. We might uplift this to the next planned release.release-notes/exclude

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions