Oracle Error ORA-37187: null parent and child pair found in parent-child hierarchy

Oracle Error Message

ORA-37187: null parent and child pair found in parent-child hierarchy

Reason for the Error

While reading values for a parent-child hierarchy, a row was retrieved which had both null child and parent values.

Solution

Correct the source table or SQL to return value parent and child pairs.