Closed
Bug 1029255
Opened 9 years ago
Closed 9 years ago
Crash: Long press on Android 2.2/2.3 text selection action bar crashes
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox32 affected, firefox33 affected)
RESOLVED
DUPLICATE
of bug 1014181
People
(Reporter: liuche, Unassigned)
References
Details
(Keywords: crash)
Crash Data
06-23 17:05:09.393: E/GeckoAppShell(2378): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main") 06-23 17:05:09.393: E/GeckoAppShell(2378): java.lang.NoSuchMethodError: android.view.MenuItem.getActionView 06-23 17:05:09.393: E/GeckoAppShell(2378): at org.mozilla.gecko.ActionModeCompat.onMenuItemLongClick(ActionModeCompat.java:102) 06-23 17:05:09.393: E/GeckoAppShell(2378): at org.mozilla.gecko.widget.GeckoPopupMenu.onMenuItemLongClick(GeckoPopupMenu.java:161) 06-23 17:05:09.393: E/GeckoAppShell(2378): at org.mozilla.gecko.menu.GeckoMenu.access$100(GeckoMenu.java:35) 06-23 17:05:09.393: E/GeckoAppShell(2378): at org.mozilla.gecko.menu.GeckoMenu$2.onLongClick(GeckoMenu.java:230) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.view.View.performLongClick(View.java:2427) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.view.View$CheckForLongPress.run(View.java:8794) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.os.Handler.handleCallback(Handler.java:587) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.os.Handler.dispatchMessage(Handler.java:92) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.os.Looper.loop(Looper.java:143) 06-23 17:05:09.393: E/GeckoAppShell(2378): at android.app.ActivityThread.main(ActivityThread.java:4701) 06-23 17:05:09.393: E/GeckoAppShell(2378): at java.lang.reflect.Method.invokeNative(Native Method) 06-23 17:05:09.393: E/GeckoAppShell(2378): at java.lang.reflect.Method.invoke(Method.java:521) 06-23 17:05:09.393: E/GeckoAppShell(2378): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 06-23 17:05:09.393: E/GeckoAppShell(2378): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 06-23 17:05:09.393: E/GeckoAppShell(2378): at dalvik.system.NativeStart.main(Native Method) 06-23 17:05:09.393: E/Gecko(2378): mozalloc_abort: Redirecting call to abort() to mozalloc_abort This looks like we are trying to use a method that might not be included in the compat library for older phones. Adding Wes as a mentor because he mentored the original bug.
Reporter | ||
Updated•9 years ago
|
Component: General → Text Selection
Reporter | ||
Comment 1•9 years ago
|
||
This bug requires two main things: - Use MenuItemCompat.getActionView(MenuItem) instead of menuItem.getActionView() in ActionModeCompat.showTooltip() - Add android.support.v7 so we can use the ActionBarActivity subclass of FragmentActivity http://stackoverflow.com/questions/18832890/android-nullpointerexception-on-searchview-in-action-bar/18942838#18942838
Component: Text Selection → General
Updated•9 years ago
|
Mentor: wjohnston
Updated•9 years ago
|
Severity: normal → critical
Crash Signature: [@ java.lang.NoSuchMethodError: android.view.MenuItem.getActionView at org.mozilla.gecko.ActionModeCompat.onMenuItemLongClick(ActionModeCompat.java)]
status-firefox32:
--- → affected
status-firefox33:
--- → affected
Keywords: crash
Updated•9 years ago
|
Summary: Crash: Long press on Android 2.2 text selection action bar crashes → Crash: Long press on Android 2.2/2.3 text selection action bar crashes
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•