Last Comment Bug 763167 - java.lang.NullPointerException: at org.mozilla.gecko.BrowserToolbar$2.onCreateContextMenu(
: java.lang.NullPointerException: at org.mozilla.gecko.BrowserToolbar$2.onCreat...
[native-crash], STR in comment #2
: crash, regression, reproducible, topcrash
Product: Firefox for Android
Classification: Client Software
Component: General (show other bugs)
: 15 Branch
: ARM Android
-- critical (vote)
: Firefox 16
Assigned To: Wesley Johnston (:wesj)
: Sebastian Kaspari (:sebastian)
: 763165 (view as bug list)
Depends on:
Blocks: 722591
  Show dependency treegraph
Reported: 2012-06-09 01:42 PDT by Scoobidiver (away)
Modified: 2016-07-29 14:25 PDT (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (1.79 KB, patch)
2012-06-11 11:32 PDT, Wesley Johnston (:wesj)
mark.finkle: review+
sriram.mozilla: review+
akeybl: approval‑mozilla‑aurora+
Details | Diff | Splinter Review

Description User image Scoobidiver (away) 2012-06-09 01:42:22 PDT
It first appeared in 16.0a1/20120608081921 and has been hit by 3 different users. The regression range is:
It's likely a regression from bug 722591.

Here is a crash report: bp-aa6a4d0f-d9b0-484c-a3d4-2f7302120609.

	at org.mozilla.gecko.BrowserToolbar$2.onCreateContextMenu(
	at android.view.View.createContextMenu(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.ViewGroup.showContextMenuForChild(
	at android.view.View.showContextMenu(
	at android.view.View.performLongClick(
	at android.widget.TextView.performLongClick(
	at android.view.View$
	at android.os.Handler.handleCallback(
	at android.os.Handler.dispatchMessage(
	at android.os.Looper.loop(
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
Comment 1 User image Peter Retzer (:pretzer) 2012-06-09 02:09:17 PDT
*** Bug 763165 has been marked as a duplicate of this bug. ***
Comment 2 User image Aaron Train [:aaronmt] 2012-06-10 17:22:16 PDT
Steps to Reproduce:

1. Tap and hold on the URL bar
Comment 3 User image Cristian Nicolae (:xti) 2012-06-11 01:25:55 PDT
I was able to reproduce it on the latest Nightly:

Firefox 16.0a1 (2012-06-10)
Device: Galaxy Nexus
OS: Android 4.0.2
Comment 4 User image Wesley Johnston (:wesj) 2012-06-11 11:32:10 PDT
Created attachment 631961 [details] [diff] [review]

From one of the other bugs....
Comment 5 User image Mark Finkle (:mfinkle) (use needinfo?) 2012-06-11 14:34:15 PDT
Comment on attachment 631961 [details] [diff] [review]

Looks OK, but Sriram should review to make sure we don't need something for other devices.
Comment 6 User image Sriram Ramasubramanian [:sriram] 2012-06-11 14:52:28 PDT
Comment on attachment 631961 [details] [diff] [review]

Review of attachment 631961 [details] [diff] [review]:

This looks good for me.
menu-v11/ is enough, as that will take care of custom menu inflater in Honeycomb and ICS.
Comment 8 User image Graeme McCutcheon [:graememcc] 2012-06-12 03:04:32 PDT
Comment 9 User image Wesley Johnston (:wesj) 2012-07-11 12:33:03 PDT
Comment on attachment 631961 [details] [diff] [review]

Forgot to request this follow up when pushing the original patch in bug 722591.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 722591
User impact if declined: Crashy
Testing completed (on m-c, etc.): Been on mc for a long time
Risk to taking this patch (and alternatives if risky): Low
String or UUID changes made by this patch: None
Comment 10 User image Justin Wood (:Callek) [away until Feb 27] 2012-07-11 12:51:48 PDT
I just hit this in my first 40 seconds of use of Fennec *ever* (though yes I am using aurora). So nominating for tracking. Its bad UX (imo) for any crasher that is easy to trigger and happens in the first few minutes after first-run.
Comment 11 User image Wesley Johnston (:wesj) 2012-07-12 15:45:34 PDT

Note You need to log in before you can comment on or make changes to this bug.