Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 4
    Could it be your toString() method that overflows because of the circular reference? Please include the rest of the code. Commented Sep 3, 2021 at 9:10
  • Can you share the full stacktrace Commented Sep 3, 2021 at 9:15
  • @Magnilex updated the question. Please take a look.. Commented Sep 3, 2021 at 9:33
  • source code is available at github.com/SanuSanal/customer-account-tracker.git Commented Sep 3, 2021 at 9:34
  • @SanalM check my answer to see how you can avoid this error Commented Sep 3, 2021 at 9:54