New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 650510 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2016
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

UrlManagerTest#testUpgradeFromNone is failing on AndroidTests(Dbg)

Project Member Reported by khushals...@chromium.org, Sep 27 2016

Issue description

The test started failing with build:
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/36385

C 1068.008s Main  [FAIL] org.chromium.chrome.browser.physicalweb.UrlManagerTest#testUpgradeFromNone:
C 1068.008s Main  java.lang.ExceptionInInitializerError
C 1068.008s Main  	at org.chromium.base.ContextUtils.getAppSharedPreferences(ContextUtils.java:96)
C 1068.008s Main  	at org.chromium.chrome.browser.physicalweb.UrlManagerTest.setUp(UrlManagerTest.java:50)
C 1068.008s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:129)
C 1068.008s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
C 1068.008s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
C 1068.008s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
C 1068.008s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
C 1068.009s Main  Caused by: java.lang.NullPointerException
C 1068.009s Main  	at android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:374)
C 1068.009s Main  	at android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:369)
C 1068.009s Main  	at org.chromium.base.ContextUtils.fetchAppSharedPreferences(ContextUtils.java:85)
C 1068.009s Main  	at org.chromium.base.ContextUtils.access$000(ContextUtils.java:17)
C 1068.009s Main  	at org.chromium.base.ContextUtils$Holder.<clinit>(ContextUtils.java:26)
C 1068.009s Main  	... 12 more

cc03@, could you take a look at this please.
 

Comment 1 by cco3@chromium.org, Sep 27 2016

Labels: OS-Android
I can't reproduce locally and the change the first break points to is just a translation change.  Is there a way to look at the history of this test?

Comment 2 by cco3@chromium.org, Dec 21 2016

Status: WontFix (was: Assigned)
Not sure what I can do here.  Just going to mark as obsolete.

Sign in to add a comment