Hi Jonathan, thanks for the reply. Here's the error output (I'm also attached the previous command's output at the begining, just to show that the element which I'm trying to tap on had been found correctly):
debug: Appium request initiated at /wd/hub/session/2164d759-5e1b-4bf3-af76-8427e3a203a5/element
debug: Request received with params: {"using":"name","value":"Button"}
info: Pushing command to appium work queue: ["find",{"strategy":"name","selector":"Button","context":"","multiple":false}]
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"Button","context":"","multiple":false}}
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"Button","context":"","multiple":false}}
info: [ANDROID] [info] Got command of type ACTION
info: [ANDROID] [debug] Got command action: find
info: [ANDROID] [debug] Finding Button using NAME with the contextId:
info: [ANDROID] [info] Returning result: {"value":{"ELEMENT":"1"},"status":0}
info: [ADB] Received command result from bootstrapinfo: Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"2164d759-5e1b-4bf3-af76-8427e3a203a5"}
POST /wd/hub/session/2164d759-5e1b-4bf3-af76-8427e3a203a5/element 200 180ms - 109
debug: Appium request initiated at /wd/hub/session/2164d759-5e1b-4bf3-af76-8427e3a203a5/touch/click
debug: Request received with params: {"element":"1"}
info: Pushing command to appium work queue: ["element:click",{}]
info: [ADB] Sending command to android: {"cmd":"action","action":"element:click","params":{}}
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"element:click","params":{}}
info: [ANDROID] [info] Got command of type ACTION
info: [ANDROID] [debug] Got command action: click
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=
info: [ADB STDOUT] Error in testRunServer:
info: [ADB STDOUT] java.lang.NullPointerException
info: [ADB STDOUT] at java.util.Hashtable.get(Hashtable.java:263)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.getElement(AndroidElementsHash.java:63)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidCommand.getElement(AndroidCommand.java:61)
info: [ADB STDOUT] at io.appium.android.bootstrap.handler.Click.execute(Click.java:41)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:67)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:183)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:91)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:134)
info: [ADB STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:17)
info: [ADB STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)
info: [ADB STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)
info: [ADB STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)
info: [ADB STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)
info: [ADB STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
info: [ADB STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
info: [ADB STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
info: [ADB STDOUT] at dalvik.system.NativeStart.main(Native Method)
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stack=java.lang.NullPointerException
info: [ADB STDOUT] at java.util.Hashtable.get(Hashtable.java:263)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidElementsHash.getElement(AndroidElementsHash.java:63)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidCommand.getElement(AndroidCommand.java:61)
info: [ADB STDOUT] at io.appium.android.bootstrap.handler.Click.execute(Click.java:41)
info: [ADB STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:67)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:183)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:91)
info: [ADB STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:134)
info: [ADB STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:17)
info: [ADB STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)
info: [ADB STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:144)
info: [ADB STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:87)
info: [ADB STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:90)
info: [ADB STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
info: [ADB STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
info: [ADB STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
info: [ADB STDOUT] at dalvik.system.NativeStart.main(Native Method)
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=
info: [ADB STDOUT] Test results for WatcherResultPrinter=.E
info: [ADB STDOUT] Time: 9.093
info: [ADB STDOUT] FAILURES!!!
info: [ADB STDOUT] Tests run: 1, Failures: 0, Errors: 1
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [ADB] Uninstalling app com.applitools.longapp
Thanks,
Daniel