java.lang.NullPointerException: at com.android.internal.view.menu.MenuItemImpl.setEnabled(MenuItemImpl.java)

NEW
Assigned to

Status

()

Firefox for Android
General
--
critical
5 years ago
a year ago

People

(Reporter: Scoobidiver (away), Assigned: sriram)

Tracking

({crash})

16 Branch
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(firefox16 affected)

Details

(Whiteboard: [native-crash], crash signature)

(Reporter)

Description

5 years ago
There's one crash in 17.0a2/20120828: bp-195f58b7-6804-4ccf-946d-e42ff2120829.

java.lang.NullPointerException
	at com.android.internal.view.menu.MenuItemImpl.setEnabled(MenuItemImpl.java:199)
	at org.mozilla.gecko.BrowserApp.onPrepareOptionsMenu(BrowserApp.java:704)
	at org.mozilla.gecko.GeckoApp.invalidateOptionsMenu(GeckoApp.java:449)
	at org.mozilla.gecko.BrowserApp.onTabChanged(BrowserApp.java:80)
	at org.mozilla.gecko.Tabs.notifyListeners(Tabs.java:369)
	at org.mozilla.gecko.Tabs.notifyListeners(Tabs.java:358)
	at org.mozilla.gecko.GeckoApp$17.run(GeckoApp.java:1199)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:144)
	at android.app.ActivityThread.main(ActivityThread.java:4937)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:521)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NullPointerException%3A+at+com.android.internal.view.menu.MenuItemImpl.setEnabled%28MenuItemImpl.java%29
Sriram, !hasTabsSideBar() && areTabsShown() ends up not working?
(Assignee)

Comment 2

5 years ago
As per the reports, they seem to be happening (probably) on add/remove a bookmark. Is there any STR to make this crash happen again? Or, it's just a race condition?
(Assignee)

Updated

5 years ago
Assignee: nobody → sriram
(Reporter)

Updated

5 years ago
status-firefox16: --- → affected
Version: Firefox 17 → Firefox 16
(Reporter)

Updated

5 years ago
Blocks: 861282

Updated

2 years ago
Crash Signature: [@ java.lang.NullPointerException: at com.android.internal.view.menu.MenuItemImpl.setEnabled(MenuItemImpl.java)] → [@ java.lang.NullPointerException: at com.android.internal.view.menu.MenuItemImpl.setEnabled(MenuItemImpl.java)] [@ java.lang.NullPointerException: at com.android.internal.view.menu.MenuItemImpl.setEnabled]
You need to log in before you can comment on or make changes to this bug.