Closed Bug 1530143 Opened 5 years ago Closed 3 years ago

Crash in [@ java.lang.NullPointerException: at android.app.assist.AssistStructure$WindowNode.<init>(AssistStructure.java)]

Categories

(Firefox for Android Graveyard :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox-esr68 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr68 --- affected

People

(Reporter: jseward, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-c143b049-cb4d-4e6b-a707-9923b0190221.

Seen in the Android nightly for 20190221093143.

Java stack trace:

java.lang.NullPointerException
	at android.app.assist.AssistStructure$WindowNode.&lt;init&gt;(AssistStructure.java:484)
	at android.app.assist.AssistStructure.&lt;init&gt;(AssistStructure.java:1908)
	at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3574)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2238)
	at android.os.Handler.dispatchMessage(Handler.java:108)
	at android.os.Looper.loop(Looper.java:166)
	at android.app.ActivityThread.main(ActivityThread.java:7523)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Flags: needinfo?(snorp)

Eitan, this is crashing in Android, but maybe due to something we gave it?

Flags: needinfo?(snorp) → needinfo?(eitan)

I'm not sure. Looks like it is crashing because the RootViewImpl's view is null[1]. Possibly this message is handled after the view is detached from the window?

Three quarters of the crashes don't have a11y enabled so this isn't exclusively an a11y issue. Although 25% with a11y enabled is unusually high, perhaps there is correlation with password managers that flip on accessibility and also use the autofill api.

https://android.googlesource.com/platform/frameworks/base.git/+/refs/tags/android-8.0.0_r34/core/java/android/app/assist/AssistStructure.java#484

Flags: needinfo?(eitan)

Extremely low volume.

Priority: -- → P3

Eitan, is this a11y code path relevant for GeckoView in Fenix? Or is this a Fennec-specific code path?

Flags: needinfo?(eitan)
Whiteboard: [geckoview:fenix?]

The crash data suggests that this is only in Fennec, although this is rare enough that it's hard to know.

Flags: needinfo?(eitan)

(In reply to Eitan Isaacson [:eeejay] from comment #5)

The crash data suggests that this is only in Fennec, although this is rare enough that it's hard to know.

In that case, I'll move this bug to the Firefox for Android Bugzilla component. The GeckoView team is trying to figure out what to do with bugs in the "Core::Widget: Android" component when we also have separate components for Firefox for Android and GeckoView.

Component: Widget: Android → General
Product: Core → Firefox for Android
Whiteboard: [geckoview:fenix?]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.