Error about List Item


Hi Community,
I set the blocks (as above picture) last year and it ran normally. But today I found the blocks didn't work when I tested it in MIT App Inventor, and it shows error :
List index smaller than 1
Select list item : Attempt to get item number 0, of the list ["........].
The minimun valid item number is 1.

I hadn't set item number 0, why system tried to get it ?
How can I fix this error ? Thanks!

You need to leave a debugging trail for the Do It facility.

init global debug_RecordList to create empty list.

In your procedure, set debug_RecordList to the incoming value, so you can examine it after a crash.

If you replace references in the procedure to the global variable, you can trace it further.

Are you testing this on android? I think there are more blocks that you're not showing us.