I got this error and finally found my reason.
My problem was that I had an array of SoftClassPath with a Make Array node connected to it. The Make Array node had an input pin without anything connected to it. Removing this solved the problem for me.