Handler dispatch failed; nested exception is java.lang.StackOverflowError

While migrating into HS 6 , we are getting inversion exception at start-up https://discourse.hibernate.org/t/how-to-resolve-inverse-side-of-the-association-type-issue/6131/9

If I try to resolve exception by adding inverse side associate (Ref above link) then our test cases failing and giving . Handler dispatch failed; nested exception is java.lang.StackOverflowError

is there any alternate option to resolve inverside exception without adding association mapping or @IndexingDependency(reindexOnUpdate = ReindexOnUpdate.NO)?