New issue
Advanced search Search tips

Issue 721661 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

[Chrome][M58][Android7.0] Crash caused by NullPointerException: Attempt to read from field 'java.lang.String org.chromium.chrome.browser.download.DownloadInfo.mUrl' on a null object reference

Reported by seiyon.p...@gmail.com, May 12 2017

Issue description

Steps to reproduce the problem:
1. Open up Chrome
2. Search any websiteChrome suddenly crashes due to NullPointerException: Attempt to read from field 'java.lang.String org.chromium.chrome.browser.download.DownloadInfo.mUrl' on a null object reference.

What is the expected behavior?

What went wrong?
Chrome suddenly crashes.

Crashed report ID: 

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? Yes M57

Chrome version: 58.0.3029.83  Channel: stable
OS Version: 7.0
Flash Version: Shockwave Flash 25.0 r0

This kind of NullPointerException exceptions had never been reported on M57.
But since Chrome was updated to M58, several crash issues have been reported.
IfI had to take a guess, I'd say it's a regression of M58.

05-03 11:26:36.754 10385 10419 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
05-03 11:26:36.754 10385 10419 E AndroidRuntime: Process: com.android.chrome, PID: 10385
05-03 11:26:36.754 10385 10419 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:318)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'java.lang.String org.chromium.chrome.browser.download.DownloadInfo.mUrl' on a null object reference
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at org.chromium.chrome.browser.download.DownloadInfo$Builder.fromDownloadInfo(DownloadInfo.java:1061)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at org.chromium.chrome.browser.download.DownloadManagerDelegate$DownloadQueryTask.doInBackground(DownloadManagerDelegate.java:2220)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:304)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-03 11:26:36.754 10385 10419 E AndroidRuntime: ... 3 more
 
dumpreports-NMF26X-2017-05-03-11-29-22.zip
5.4 MB Download
Labels: Stability-Sheriff-Android
Components: UI>Browser>Downloads

Comment 4 Deleted

Which devices are you seeing the crash on?
It is reproducible on Nexus5X with N OS.
And I just have found out reproducible steps.
Once Chrome crashes, Chrome always crashes and only recovery way is to clear all data from Setting menu.

1. Open up Chrome
2. Go to http://sqaap1.htc.com.tw/OMA-Download.html
3. Download any contents from the site
4. Go to home screen
5. Touch recent button and then clear all button
6. Go back to home screen again
7. Open up Chrome and Chrome crashes
Cc: qin...@chromium.org
Labels: -Arch-x86_64
Owner: dtrainor@chromium.org
Status: Assigned (was: Unconfirmed)
Able to repro this crash with steps reported in #6 on Samsung S8 Verizon / NRD90M on M58

Comment 8 by qin...@chromium.org, May 24 2017

Cc: -qin...@chromium.org
Owner: qin...@chromium.org

Comment 9 by qin...@chromium.org, May 24 2017

Mergedinto: 722768
Status: Duplicate (was: Assigned)
Hi Chrome team.
Could you share the status of https://bugs.chromium.org/p/chromium/issues/detail?id=722768?
I don't have a right to access https://bugs.chromium.org/p/chromium/issues/detail?id=722768.
crbug/722768 is fixed and the fix is merged to M59

Sign in to add a comment