New issue
Advanced search Search tips

Issue 720552 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 720504
Owner: ----
Closed: May 2017
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

Work Chrome crashes when touch-holding a link

Reported by lquinn@blackberry.com, May 10 2017

Issue description

Device name: BlackBerry KEYone

From "Settings > About Chrome"
Application version: 58.0.3029.83
Operating system: 7.1.1

URLs (if applicable): N/A

Steps to reproduce:
(1) Using Chrome in Android for Work, go to a Web page that has links.
(2) Touch and hold on a link.

Expected result:
Context menu with choices such as "Open in new tab"

Actual result:
This crashes 100% of the time for me. I also experience the crash on Android 6.0.1 devices such as the BlackBerry PRIV and BlackBerry DTEK60. The crash does not happen using the same version of Chrome outside of AfW.

Here is the stack trace from logcat:

05-09 08:30:07.794  5190  5190 W System.err: java.lang.NullPointerException: Attempt to read from field 'java.lang.String org.chromium.chrome.browser.search_engines.TemplateUrlService$TemplateUrl.mShortName' on a null object reference
05-09 08:30:07.795  5190  5190 W System.err: 	at org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator.buildContextMenu(ChromeContextMenuPopulator.java:7089)
05-09 08:30:07.795  5190  5190 W System.err: 	at org.chromium.chrome.browser.tab.TabContextMenuPopulator.buildContextMenu(TabContextMenuPopulator.java:40)
05-09 08:30:07.795  5190  5190 W System.err: 	at org.chromium.chrome.browser.contextmenu.ContextMenuHelper.onCreateContextMenu(ContextMenuHelper.java:131)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.View.createContextMenu(View.java:10859)
05-09 08:30:07.795  5190  5190 W System.err: 	at com.android.internal.view.menu.ContextMenuBuilder.showDialog(ContextMenuBuilder.java:81)
05-09 08:30:07.795  5190  5190 W System.err: 	at com.android.internal.policy.DecorView.showContextMenuForChildInternal(DecorView.java:794)
05-09 08:30:07.795  5190  5190 W System.err: 	at com.android.internal.policy.DecorView.showContextMenuForChild(DecorView.java:764)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:771)
05-09 08:30:07.795  5190  5190 W System.err: 	at android.view.View.showContextMenu(View.java:5793)
05-09 08:30:07.795  5190  5190 W System.err: 	at org.chromium.chrome.browser.contextmenu.ContextMenuHelper.showContextMenu(ContextMenuHelper.java:76)
05-09 08:30:07.795  5190  5190 W System.err: 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
05-09 08:30:07.796  5190  5190 W System.err: 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:41)
05-09 08:30:07.796  5190  5190 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:102)
05-09 08:30:07.796  5190  5190 W System.err: 	at android.os.Looper.loop(Looper.java:154)
05-09 08:30:07.796  5190  5190 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6124)
05-09 08:30:07.796  5190  5190 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
05-09 08:30:07.796  5190  5190 W System.err: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:926)
05-09 08:30:07.796  5190  5190 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:788)
 
Mergedinto: 720504
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment