Closed Bug 1337375 Opened 7 years ago Closed 4 years ago

Crash in java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.getEventDispatcher(GeckoApp.java)

Categories

(Firefox for Android Graveyard :: General, defect)

52 Branch
ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cfat, Unassigned)

References

Details

Crash Data

Attachments

(1 file)

Environment: 
Devices: 
- Lenovo Yoga Tablet 2 (Android 4.4.2);
- Asus Transformer Pad (Android 4.2.1);
Build: Beta 52.0b4 build 1

Steps to reproduce:
1. Open Fennec;
2. Go to Menu -> Settings -> Search;
3. Choose a new search engine (e.g. Twitter);
4. Go to Beta Search Widget and search for something (e.g: abba);
5. Tap on Recent soft button of the device and close the Search widget from task manager;
6. Tap on browser.

Expected result:
Browser opens displaying the last accessed page: in this case the Search tab from the Settings.

Actual result:
Browser crashes.

Notes:
There were no crash reports displayed in about:crashes, so I manually tried to find them by accessing https://crash-stats.mozilla.com/topcrashers/?product=FennecAndroid&version=52.0b4&days=7&process_type=any
This is one of the crash reports: https://crash-stats.mozilla.com/report/index/b59b57ee-901e-4bcc-a8e0-0804f2170207
On Asus ZenPad 8 (Android 6.0.1) and Nexus 6 (Android 7.0) this is not reproducible.
Please see the Screencast attached.
Nightly, Aurora and Release versions have different behavior while following this steps to reproduce, for which I'll submit a new bug report.
Crash Signature: [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.getEventDispatcher(GeckoApp.java) ]
See Also: → 1337381
I can reproduce this on a Transformer Pad. In logcat I get:

> E  java.lang.NullPointerException
> E      at org.mozilla.gecko.GeckoApp.getEventDispatcher(GeckoApp.java:1757)
> E      at org.mozilla.gecko.preferences.SearchPreferenceCategory.onAttachedToActivity(SearchPreferenceCategory.java:45)
> E      at android.preference.PreferenceGroup.onAttachedToActivity(PreferenceGroup.java:277)
> E      at android.preference.PreferenceScreen.bind(PreferenceScreen.java:147)
> E      at android.preference.PreferenceFragment.bindPreferences(PreferenceFragment.java:330)
> E      at android.preference.PreferenceFragment.onActivityCreated(PreferenceFragment.java:171)
> E      at org.mozilla.gecko.preferences.GeckoPreferenceFragment.onActivityCreated(GeckoPreferenceFragment.java:183)
> E      at android.app.Fragment.performActivityCreated(Fragment.java:1708)
#3 crash for the 3-9 Android Nightly, with 9 crashes.
The Search Activity is no more, but I'm not sure if we could somehow still run into this crash.
Component: Search Activity → General

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: