Rhino 8 Script component without output error (C#)

When the script component has no outputs, the component will throw an error 1. Before Solution exception:Value cannot be null. (Parameter 'name')