bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Intermittent testAboutHomeVisibility | Exception caught - java.lang.NullPointerException

NEW
Unassigned

Status

()

Firefox for Android
General
P3
normal
4 years ago
2 years ago

People

(Reporter: Tomcat, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

4 years ago
Android 4.0 armv7 API 10+ fx-team opt test robocop-6

https://treeherder.mozilla.org/logviewer.html#?job_id=1560253&repo=fx-team

02:36:18 WARNING - TEST-UNEXPECTED-FAIL | testAboutHomeVisibility | Exception caught - java.lang.NullPointerException
Comment hidden (Treeherder Robot)
2:36:18     INFO -  TEST-START | testAboutHomeVisibility
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | Robocop tests need the test device screen to be powered on. -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
02:36:18     INFO -  EventExpecter: no longer listening for Gecko:Ready
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The url argument is not null - about:home should not equal null
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | url is not null - about:home should not equal null
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The toolbar is not in the editing state -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The Toolbar title is  -  should equal
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The HomePager is visible -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The HomePager is visible -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The current HomePager panel is top_sites - 0 should equal 0
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | url is not null - /robocop/robocop_blank_01.html should not equal null
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | url is not null - /robocop/robocop_blank_01.html should not equal null
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The toolbar is not in the editing state -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | Waiting for Toolbar to enter editing mode. -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | Waiting for UrlEditText to be input method target. -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | url is not null - http://mochi.test:8888/tests/robocop/robocop_blank_01.html should not equal null
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The toolbar is in the editing state -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The UrlEditText is the input method target -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | The toolbar is in the editing state -
02:36:18     INFO -  TEST-PASS | testAboutHomeVisibility | initiatingAction is not null - org.mozilla.gecko.tests.components.ToolbarComponent$2@413b0f88 should not equal null
02:36:18     INFO -  0 ERROR Exception caught during test! - java.lang.NullPointerException
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3070)
02:36:18     INFO -  	at android.widget.ListView.findViewTraversal(ListView.java:3435)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
02:36:18     INFO -  	at android.view.View.findViewById(View.java:12247)
02:36:18     INFO -  	at android.view.Window.findViewById(Window.java:901)
02:36:18     INFO -  	at android.app.Activity.findViewById(Activity.java:1794)
02:36:18     INFO -  	at com.jayway.android.robotium.solo.Getter.getView(Getter.java:118)
02:36:18     INFO -  	at com.jayway.android.robotium.solo.Getter.getView(Getter.java:137)
02:36:18     INFO -  	at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1982)
02:36:18     INFO -  	at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1970)
02:36:18     INFO -  	at org.mozilla.gecko.tests.components.ToolbarComponent.getToolbarView(ToolbarComponent.java:86)
02:36:18     INFO -  	at org.mozilla.gecko.tests.components.ToolbarComponent.getUrlTitleText(ToolbarComponent.java:98)
02:36:18     INFO -  	at org.mozilla.gecko.tests.components.ToolbarComponent.getTitleHelper(ToolbarComponent.java:140)
02:36:18     INFO -  	at org.mozilla.gecko.tests.components.ToolbarComponent.getPotentiallyInconsistentTitle(ToolbarComponent.java:132)
02:36:18     INFO -  	at org.mozilla.gecko.tests.helpers.WaitHelper$ToolbarTitleTextChangeVerifier.storeState(WaitHelper.java:157)
02:36:18     INFO -  	at org.mozilla.gecko.tests.helpers.WaitHelper.waitForPageLoad(WaitHelper.java:84)
02:36:18     INFO -  	at org.mozilla.gecko.tests.components.ToolbarComponent.commitEditingMode(ToolbarComponent.java:167)
02:36:18     INFO -  	at org.mozilla.gecko.tests.helpers.NavigationHelper.enterAndLoadUrl(NavigationHelper.java:39)
02:36:18     INFO -  	at org.mozilla.gecko.tests.testAboutHomeVisibility.testAboutHomeVisibility(testAboutHomeVisibility.java:21)
02:36:18     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
02:36:18     INFO -  	at java.lang.reflect.Method.invoke(Method.java:511)
02:36:18     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
02:36:18     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
02:36:18     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
02:36:18     INFO -  	at org.mozilla.gecko.tests.UITest.runTest(UITest.java:94)
02:36:18     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:127)
02:36:18     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:106)
02:36:18     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:124)
02:36:18     INFO -  	at junit.framework.TestResult.run(TestResult.java:109)
02:36:18     INFO -  	at junit.framework.TestCase.run(TestCase.java:118)
02:36:18     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
02:36:18     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
02:36:18     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
02:36:18     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
02:36:18  WARNING -  TEST-UNEXPECTED-FAIL | testAboutHomeVisibility | Exception caught - java.lang.NullPointerException
02:36:18     INFO -  TEST-OK | testAboutHomeVisibility | took 12645ms
02:36:18     INFO -  TEST-START | Shutdown
02:36:18     INFO -  Passed: 19
02:36:18     INFO -  Failed: 1
02:36:18     INFO -  Todo: 0
Comment hidden (Treeherder Robot)
We could avoid this type of error by applying the approach of bug 923109 -- load pages with Tabs.getInstance().loadUrl() rather than trying to type into the url bar.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)

Comment 29

2 years ago
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.