Patch Fragment and CapHolesEx uncaught NullReferenceException

Attached is input data that makes both Components Patch Fragment and CapHolesEx throw uncaught NullReferenceExceptions, and abort execution halfway through a list with the error:

Solution exception:Object reference not set to an instance of an object.

I would not expect them to do anything useful, but I would expect them to give a bit more helpful error message, and continue execution on the rest of the input upon finding such geometry.

Attached is a minimal example to reproduce

PatchHoles_FragmentPatch_NullException.gh (33.8 KB)