null root returned by UiTestAutomationBridge when using uiAutomator

2,441 views
Skip to first unread message

srinivas...@gmail.com

unread,
Jun 29, 2018, 1:15:47 AM6/29/18
to Android Testing Support Library

Hello,


Am getting an error while running the following command inside an ADB shell.

adb command: uiautomator dump /sdcard/dump.xml

ERROR: null root node returned by UiTestAutomationBridge.


This command will work occasionally, and then start failing and then work again, without having to reboot the device. 


This happens only on a device with Android P, and seems to be limited to the screens where there is an overlay 

(chrome open, and click on the menu button to bring up the menu options such as Print etc.) 


Tried ADB versions, 32,36 and 39. 


Thanks

Srinivas

zhusha...@gmail.com

unread,
Jul 17, 2018, 12:00:58 AM7/17/18
to Android Testing Support Library
We encountered the same issue, does anyone know how to fix it?

在 2018年6月29日星期五 UTC+8下午1:15:47,srinivas...@gmail.com写道:

comom...@gmail.com

unread,
Jul 17, 2018, 10:29:47 PM7/17/18
to Android Testing Support Library
Any update for this ,we meeting this issue , anyone know how to fix it?

Thanks.

srinivas...@gmail.com於 2018年6月29日星期五 UTC+8下午1時15分47秒寫道:

hero1...@gmail.com

unread,
Sep 20, 2018, 8:24:23 PM9/20/18
to Android Testing Support Library
Get same issue.
Same platform on Android O with same application, dump work well.
Same platform on Android P with same application, dump easily fail

vishals...@gmail.com

unread,
Mar 27, 2019, 5:50:20 AM3/27/19
to Android Testing Support Library
Any update on this issue, I am facing the same issue on Pixel 3 XL.

Sometime this command works, some time fails with the error "null root node returned by UiTestAutomationBridge."


--
Thanks

Sushmi

unread,
Jun 17, 2019, 8:58:08 AM6/17/19
to Android Testing Support Library


Hi I am facing same issue on LG Alpha device, anyone know how to fix this issue.

jacko.9...@gmail.com

unread,
Feb 16, 2020, 8:03:37 PM2/16/20
to Android Testing Support Library
Hi,

I'm having the same problem on a Xiaomi Pocophone F1 running the latest nightly of LineageOS 16 (also based on Android 9).

Best regards,
Jacko

Uttara The little star

unread,
Apr 19, 2021, 7:44:43 AM4/19/21
to Android Testing Support Library

Am getting an error while running the following command inside an ADB shell.

adb command: uiautomator dump /sdcard/dump.xml

ERROR: null root node returned by UiTestAutomationBridge.


This command will work occasionally, and then start failing and then work again, without having to reboot the device. 


I am getting the same error..Any updates.....
Reply all
Reply to author
Forward
0 new messages