Warning Dereferencing a non pointer in the first row

Hi, im using “element get parameter value by name”, but only when the firs row “is empty list”, dynamo show the alert: “Warning: Internal error, please report: Dereferencing a non pointer”;

Is there a way to fix it.

thanks

dynano_wo_referencepoint_ok

Use List.Clean node to get rid of all EmptyLists.

Thanks so much!!!