Closed Bug 1118264 Opened 9 years ago Closed 9 years ago

Intermittent testGetUserMedia | Exception caught - java.lang.NullPointerException

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Because this test doesn't have enough intermittents filed against it yet.

16:19:14 INFO - SimpleTest START
16:19:14 INFO - TEST-START | testGetUserMedia
16:19:14 INFO - TEST-PASS | testGetUserMedia | Robocop tests need the test device screen to be powered on. -
16:19:14 INFO - TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
16:19:14 INFO - EventExpecter: no longer listening for Gecko:Ready
16:19:14 INFO - TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
16:19:14 INFO - TEST-PASS | testGetUserMedia | URL typed properly - http://mochi.test:8888/tests/robocop/robocop_getusermedia2.html should equal http://mochi.test:8888/tests/robocop/robocop_getusermedia2.html
16:19:14 INFO - TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"bgColor":"transparent","errorType":"","type":"DOMContentLoaded","metadata":null,"tabID":0} - DOMContentLoaded should equal DOMContentLoaded
16:19:14 INFO - EventExpecter: no longer listening for DOMContentLoaded
16:19:14 INFO - TEST-PASS | testGetUserMedia | getUserMedia doorhanger has been displayed - true should equal true
16:19:14 INFO - TEST-PASS | testGetUserMedia | getUserMedia found a camera - true should equal true
16:19:14 INFO - TEST-PASS | testGetUserMedia | getUserMedia doorhanger hidden after dismissal - false should equal false
16:19:14 INFO - TEST-PASS | testGetUserMedia | The url argument is not null - http://mochi.test:8888/tests/robocop/robocop_getusermedia2.html should not equal null
16:19:14 INFO - TEST-PASS | testGetUserMedia | Page title is correct - mochi.test:8888/tests/robocop/robocop_getusermedia2.html should equal mochi.test:8888/tests/robocop/robocop_getusermedia2.html
16:19:14 INFO - 0 ERROR Exception caught during test! - java.lang.NullPointerException
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3070)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.widget.ListView.findViewInHeadersOrFooters(ListView.java:3462)
16:19:14 INFO - at android.widget.ListView.findViewTraversal(ListView.java:3437)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071)
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.ViewGroup.findViewTraversal(ViewGroup.java:3071) 
16:19:14 INFO - at android.view.View.findViewById(View.java:12247)
16:19:14 INFO - at android.view.Window.findViewById(Window.java:901)
16:19:14 INFO - at android.app.Activity.findViewById(Activity.java:1794)
16:19:14 INFO - at com.jayway.android.robotium.solo.Getter.getView(Getter.java:118)
16:19:14 INFO - at com.jayway.android.robotium.solo.Getter.getView(Getter.java:137)
16:19:14 INFO - at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1982)
16:19:14 INFO - at com.jayway.android.robotium.solo.Solo.getView(Solo.java:1970)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest$1.isSatisfied(BaseTest.java:210)
16:19:14 INFO - at com.jayway.android.robotium.solo.Waiter.waitForCondition(Waiter.java:370)
16:19:14 INFO - at com.jayway.android.robotium.solo.Solo.waitForCondition(Solo.java:426)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest.waitForCondition(BaseTest.java:321)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest.focusUrlBar(BaseTest.java:206)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest.enterUrl(BaseTest.java:222)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest.inputAndLoadUrl(BaseTest.java:255)
16:19:14 INFO - at org.mozilla.gecko.tests.testGetUserMedia.testGetUserMedia(testGetUserMedia.java:65)
16:19:14 INFO - at java.lang.reflect.Method.invokeNative(Native Method)
16:19:14 INFO - at java.lang.reflect.Method.invoke(Method.java:511)
16:19:14 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
16:19:14 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
16:19:14 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
16:19:14 INFO - at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:159)
16:19:14 INFO - at junit.framework.TestCase.runBare(TestCase.java:127)
16:19:14 INFO - at junit.framework.TestResult$1.protect(TestResult.java:106)
16:19:14 INFO - at junit.framework.TestResult.runProtected(TestResult.java:124)
16:19:14 INFO - at junit.framework.TestResult.run(TestResult.java:109)
16:19:14 INFO - at junit.framework.TestCase.run(TestCase.java:118)
16:19:14 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
16:19:14 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
16:19:14 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
16:19:14 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
16:19:14 WARNING - TEST-UNEXPECTED-FAIL | testGetUserMedia | Exception caught - java.lang.NullPointerException
16:19:14 INFO - TEST-OK | testGetUserMedia | took 29534ms
16:19:14 INFO - TEST-START | Shutdown
16:19:14 INFO - Passed: 10
16:19:14 INFO - Failed: 1
16:19:14 INFO - Todo: 0
16:19:14 INFO - SimpleTest FINISHED
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #0)
> Because this test doesn't have enough intermittents filed against it yet.

New signatures are always welcome.
This actually looks like an Android or Robotium bug.
Depends on: 923109
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.