SONARJAVA-402 Stack Overflow error in case of cyclic Hierarchy.