Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got null source node fromIndex accessibility - Retrying.. #2

Open
shauvik opened this issue Oct 20, 2014 · 0 comments
Open

Got null source node fromIndex accessibility - Retrying.. #2

shauvik opened this issue Oct 20, 2014 · 0 comments

Comments

@shauvik
Copy link

shauvik commented Oct 20, 2014

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant