You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that often PUMA would run into a NullPointerException inside LaunchApp.getRootNode()
Changing maxRetry and waitInterval to 100 and 1000 (1s) seems to work temporarily.
Error Log:
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
nsl.stg.tests.LaunchApp:
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: test=testMain
INSTRUMENTATION_STATUS: class=nsl.stg.tests.LaunchApp
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
1413767882551: Traffic: 0
1413767883009: --------------- iter 0
Got null source node fromIndex accessibility - Retrying...
Got null source node fromIndex accessibility - Retrying...
Got null source node fromIndex accessibility - Retrying...
node or class name is NULL
FATAL: getClickables() source is NULL
1413767884944: Processing NULL
1413767888313: New UIState: [0, 0/0]
1413767888318: UI_LOAD_DONE
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
Error in testMain:
java.lang.NullPointerException
at nsl.stg.tests.LaunchApp.testMain(LaunchApp.java:369)
at java.lang.reflect.Method.invokeNative(Native Method)
at nsl.stg.uiautomator.testrunner.MyUiAutomatorTestRunner.start(MyUiAutomatorTestRunner.java:147)
at nsl.stg.uiautomator.testrunner.MyUiAutomatorTestRunner.run(MyUiAutomatorTestRunner.java:82)
at nsl.stg.uiautomator.cmds.MyRunTestCommand.run(MyRunTestCommand.java:73)
at nsl.stg.uiautomator.cmds.MyLauncher.main(MyLauncher.java:65)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: test=testMain
INSTRUMENTATION_STATUS: class=nsl.stg.tests.LaunchApp
INSTRUMENTATION_STATUS: stack=java.lang.NullPointerException
at nsl.stg.tests.LaunchApp.testMain(LaunchApp.java:369)
at java.lang.reflect.Method.invokeNative(Native Method)
at nsl.stg.uiautomator.testrunner.MyUiAutomatorTestRunner.start(MyUiAutomatorTestRunner.java:147)
at nsl.stg.uiautomator.testrunner.MyUiAutomatorTestRunner.run(MyUiAutomatorTestRunner.java:82)
at nsl.stg.uiautomator.cmds.MyRunTestCommand.run(MyRunTestCommand.java:73)
at nsl.stg.uiautomator.cmds.MyLauncher.main(MyLauncher.java:65)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: -1
INSTRUMENTATION_STATUS: stream=
Test results for WatcherResultPrinter=.E
Time: 24.399
FAILURES!!!
Tests run: 1, Failures: 0, Errors: 1
INSTRUMENTATION_STATUS_CODE: -1
The text was updated successfully, but these errors were encountered:
I found that often PUMA would run into a NullPointerException inside LaunchApp.getRootNode()
Changing
maxRetry
andwaitInterval
to 100 and 1000 (1s) seems to work temporarily.Error Log:
The text was updated successfully, but these errors were encountered: