Closed Bug 1108717 Opened 9 years ago Closed 9 years ago

Intermittent testClearPrivateData | Exception caught - java.lang.NullPointerException

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox35 fixed, firefox36 fixed, firefox37 fixed, firefox-esr31 fixed)

RESOLVED FIXED
Firefox 37
Tracking Status
firefox35 --- fixed
firefox36 --- fixed
firefox37 --- fixed
firefox-esr31 --- fixed

People

(Reporter: RyanVM, Assigned: gbrown)

Details

(Keywords: crash, intermittent-failure)

Attachments

(1 file)

09:02:44 INFO - SimpleTest START
09:02:44 INFO - TEST-START | testClearPrivateData
09:02:44 INFO - TEST-PASS | testClearPrivateData | Robocop tests need the test device screen to be powered on. -
09:02:44 INFO - TEST-PASS | testClearPrivateData | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
09:02:44 INFO - EventExpecter: no longer listening for Gecko:Ready
09:02:44 INFO - TEST-PASS | testClearPrivateData | waiting for urlbar text to gain focus - urlbar text gained focus
09:02:44 INFO - TEST-PASS | testClearPrivateData | URL typed properly - http://mochi.test:8888/tests/robocop/robocop_blank_01.html should equal http://mochi.test:8888/tests/robocop/robocop_blank_01.html
09:02:44 INFO - TEST-PASS | testClearPrivateData | Given message occurred for registered event: {"bgColor":"transparent","errorType":"","type":"DOMContentLoaded","metadata":null,"tabID":0} - DOMContentLoaded should equal DOMContentLoaded
09:02:44 INFO - EventExpecter: no longer listening for DOMContentLoaded
09:02:44 INFO - TEST-PASS | testClearPrivateData | The title argument is not null - Browser Blank Page 01 should not equal null
09:02:44 INFO - TEST-PASS | testClearPrivateData | The url argument is not null - http://mochi.test:8888/tests/robocop/robocop_blank_01.html should not equal null
09:02:44 INFO - waitForCondition timeout after 15000 ms.
09:02:44 INFO - TEST-PASS | testClearPrivateData | Page title is correct - mochi.test:8888/tests/robocop/robocop_blank_01.html should equal mochi.test:8888/tests/robocop/robocop_blank_01.html
09:02:44 INFO - TEST-PASS | testClearPrivateData | Inserting/updating a new bookmark - Inserting/updating the bookmark with the title = Browser Blank Page 02 and the url = http://mochi.test:8888/tests/robocop/robocop_blank_02.html
09:02:44 INFO - TEST-PASS | testClearPrivateData | Checking that the number of history items is correct - 1 history items present in the database
09:02:44 INFO - TEST-PASS | testClearPrivateData | Waiting for and scrolling once to find item ^Privacy$ - ^Privacy$ found
09:02:44 INFO - TEST-PASS | testClearPrivateData | Waiting for enabled text ^Privacy$ - ^Privacy$ option is present and enabled
09:02:44 INFO - TEST-PASS | testClearPrivateData | Waiting for and scrolling once to find item ^Clear now$ - ^Clear now$ found
09:02:44 INFO - TEST-PASS | testClearPrivateData | Waiting for enabled text ^Clear now$ - ^Clear now$ option is present and enabled
09:02:44 INFO - TEST-PASS | testClearPrivateData | Given message occurred for registered event: {"type":"Sanitize:Finished","success":true} - Sanitize:Finished should equal Sanitize:Finished
09:02:44 INFO - EventExpecter: no longer listening for Sanitize:Finished
09:02:44 INFO - TEST-PASS | testClearPrivateData | The title argument is not null - Browser Blank Page 01 should not equal null
09:02:44 INFO - TEST-PASS | testClearPrivateData | The url argument is not null - http://mochi.test:8888/tests/robocop/robocop_blank_01.html should not equal null
09:02:44 INFO - waitForCondition timeout after 15000 ms.
09:02:44 INFO - TEST-PASS | testClearPrivateData | Page title is correct - mochi.test:8888/tests/robocop/robocop_blank_01.html should equal mochi.test:8888/tests/robocop/robocop_blank_01.html
09:02:44 INFO - TEST-PASS | testClearPrivateData | Checking that the number of history items is correct - 0 history items present in the database
09:02:44 INFO - TEST-PASS | testClearPrivateData | Checking that bookmarks have not been removed - User made bookmarks were not removed with private data
09:02:44 INFO - 0 ERROR Exception caught during test! - java.lang.NullPointerException
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3070)
09:02:44 INFO - at android.widget.ListView.findViewTraversal(ListView.java:3435)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
09:02:44 INFO - at android.view.View.findViewById(View.java:12247)
09:02:44 INFO - at android.view.Window.findViewById(Window.java:901)
09:02:44 INFO - at android.app.Activity.findViewById(Activity.java:1794)
09:02:44 INFO - at com.jayway.android.robotium.solo.Getter.getView(Getter.java:118)
09:02:44 INFO - at com.jayway.android.robotium.solo.Getter.getView(Getter.java:137)
09:02:44 INFO - at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1982)
09:02:44 INFO - at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1970)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest$1.isSatisfied(BaseTest.java:213)
09:02:44 INFO - at com.jayway.android.robotium.solo.Waiter.waitForCondition(Waiter.java:370)
09:02:44 INFO - at com.jayway.android.robotium.solo.Solo.waitForCondition(Solo.java:426)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest.waitForCondition(BaseTest.java:324)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest.focusUrlBar(BaseTest.java:210)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest.enterUrl(BaseTest.java:225)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest.inputAndLoadUrl(BaseTest.java:258)
09:02:44 INFO - at org.mozilla.gecko.tests.testClearPrivateData.loadCheckDismiss(testClearPrivateData.java:94)
09:02:44 INFO - at org.mozilla.gecko.tests.testClearPrivateData.clearSiteSettings(testClearPrivateData.java:63)
09:02:44 INFO - at org.mozilla.gecko.tests.testClearPrivateData.testClearPrivateData(testClearPrivateData.java:22)
09:02:44 INFO - at java.lang.reflect.Method.invokeNative(Native Method)
09:02:44 INFO - at java.lang.reflect.Method.invoke(Method.java:511)
09:02:44 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
09:02:44 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
09:02:44 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
09:02:44 INFO - at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:163)
09:02:44 INFO - at junit.framework.TestCase.runBare(TestCase.java:127)
09:02:44 INFO - at junit.framework.TestResult$1.protect(TestResult.java:106)
09:02:44 INFO - at junit.framework.TestResult.runProtected(TestResult.java:124)
09:02:44 INFO - at junit.framework.TestResult.run(TestResult.java:109)
09:02:44 INFO - at junit.framework.TestCase.run(TestCase.java:118)
09:02:44 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
09:02:44 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
09:02:44 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
09:02:44 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
09:02:44 WARNING - TEST-UNEXPECTED-FAIL | testClearPrivateData | Exception caught - java.lang.NullPointerException
09:02:44 INFO - TEST-OK | testClearPrivateData | took 52557ms
09:02:44 INFO - TEST-START | Shutdown
09:02:44 INFO - Passed: 20
09:02:44 INFO - Failed: 1
09:02:44 INFO - Todo: 0
09:02:44 INFO - SimpleTest FINISHED
Assignee: nobody → gbrown
Attachment #8533385 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/22657f5fa3fe
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 37
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.