Inspect Layout java.lang.IllegalArgumentException

50 views
Skip to first unread message

Trapier Marshall

unread,
Sep 18, 2024, 4:34:04 PM9/18/24
to Automate for Android
# Issue Summary
Recently (unaffected version not established) "Inspect Layout" with an empty xpath expression started failing with `java.lang.IllegalArgumentException: resultType`.

# Minimal Steps to Recreate

1. Create a flow with a single "Inspect layout" block and start it.

# Outcome

```
09-18 16:24:05.184 I 2533128@1: Flow beginning
09-18 16:24:05.184 I 2533128@2: Inspect layout
09-18 16:24:05.204 F 2533128@2: java.lang.IllegalArgumentException: resultType
09-18 16:24:05.205 I 2533128@2: Stopped by failure
```

# Exected Outcome

Block inspects layout.

# Environment

* Automate 1.44.1
* Android 13

# Work Around

Set the xpath expression to anything, including the the documented default "Context node" `.`.

Henrik "The Developer" Lindqvist

unread,
Sep 19, 2024, 7:07:29 AM9/19/24
to Automate for Android
Thanks for reporting. I'll fix.
Reply all
Reply to author
Forward
0 new messages