Last Comment Bug 765220 - java.lang.NoSuchMethodError: java.lang.String.isEmpty at org.mozilla.gecko.BrowserToolbar$2.onCreateContextMenu(
: java.lang.NoSuchMethodError: java.lang.String.isEmpty at org.mozilla.gecko.Br...
: crash, regression
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)
Depends on:
  Show dependency treegraph
Reported: 2012-06-15 06:30 PDT by Scoobidiver (away)
Modified: 2012-08-14 07:47 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (1.95 KB, patch)
2012-06-15 07:47 PDT, Wesley Johnston (:wesj)
margaret.leibovic: review+
lukasblakk+bugs: approval‑mozilla‑beta+
Details | Diff | Splinter Review

Description User image Scoobidiver (away) 2012-06-15 06:30:34 PDT
There's one crash in 16.0a1/20120614075912: bp-2ce43818-b5d6-4bb5-94a6-0898e2120615.

The regression window might be:

java.lang.NoSuchMethodError: java.lang.String.isEmpty
	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.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 Wesley Johnston (:wesj) 2012-06-15 07:47:43 PDT
Created attachment 633524 [details] [diff] [review]

Stupid me.
Comment 2 User image :Margaret Leibovic 2012-06-15 08:50:52 PDT
Comment on attachment 633524 [details] [diff] [review]

Sorry I didn't catch that before :(
Comment 4 User image Ryan VanderMeulen [:RyanVM] 2012-06-16 06:52:18 PDT
Comment 5 User image Cristian Nicolae (:xti) 2012-06-19 07:54:11 PDT
Quick fix for this bug. It seems that there aren't any other crashes since 06/15. Closing bug as verified fixed on:

Firefox 16.0a1 (2012-06-19)
Device: Galaxy Nexus
OS: Android 4.0.2
Comment 6 User image Scoobidiver (away) 2012-07-27 23:26:55 PDT
15.0 Beta is affected.
Comment 7 User image Scoobidiver (away) 2012-08-08 05:19:56 PDT
It's #48 top crasher in 15.0b3. Can we land it on Beta?
Comment 8 User image Scoobidiver (away) 2012-08-12 00:12:12 PDT
Now #19 on 15.0b4.
Comment 9 User image :Margaret Leibovic 2012-08-13 08:33:36 PDT
Comment on attachment 633524 [details] [diff] [review]

[Approval Request Comment]
Bug caused by (feature/regressing bug #): n/a
User impact if declined: crash (#19 on 15.0b4)
Testing completed (on m-c, etc.): landed on m-c 6/16
Risk to taking this patch (and alternatives if risky): low-risk change to replace a bad method call with one that actually exists
String or UUID changes made by this patch: n/a

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