Display null argument when try spy and record mobile

Hi Katalon support,

When i try spy mobile, display error “Failed to execute runnable (org.eclipse.core.runtime.AssertionFailedException: null argument:)” in katalon

I just try spy mobile on APIDemos.apk in katalon

When i try record mobile, display error “can’t capture object because null pointer exception”

Please help me about this problem

Hi @muhammad_saipul_rohm,

To start, can you please let us know what version of Appium you’re using? Katalon Studio 5.10.1 only supports version 1.8.1. You can install that version with npm install -g appium@1.8.1.



Hi @Chris_Trevarthen,

Thanks for your help, now already solve.
But i got another error, do you know how to solve it ?


Please add these 2 properties in Desired Capbilities/Mobile/Android:

appWaitActivity: *
automationName: UiAutomator2

Btw, check your appium version:

npm uninstall -g appium
npm install -g appium@1.8.1

And check npm, and appium version after the installations:

npm -v (6.4.1)
appium -v (1.8.1)

hi @duyluong,

Thanks for your help and now solve.