Error in Discovery and vizualize when creating a script field

There is a lot of nulls actually, should I add a Isnull or something like it?

Abaout the error that have "..name.contains ....." I sorry, I posted the wrong print, the right one is here:


The other print was from another test.

Thanks!