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

**URL:** <https://discourse.hibernate.org/t/handler-dispatch-failed-nested-exception-is-java-lang-stackoverflowerror/6135>\
**Category:** Hibernate Search\
**Created:** [March 10, 2022, 8:01am UTC](https://discourse.hibernate.org/t/handler-dispatch-failed-nested-exception-is-java-lang-stackoverflowerror/6135 "2022-03-10T08:01:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Kamble](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Prashant\_Kamble](https://discourse.hibernate.org/u/Prashant_Kamble)\
**Post date:** [March 10, 2022, 8:01am UTC](https://discourse.hibernate.org/t/handler-dispatch-failed-nested-exception-is-java-lang-stackoverflowerror/6135/1 "2022-03-10T08:01:26Z")

</div>

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](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)?
