"object reference not set to an instance of an object"

Hi,
Perhaps I have same issue when working on color preview.
May I ask you any suggestion?

ColorPreviewError.gh (40.5 KB)