# SonarJava: StackOverflowError with squid:S2637

**URL:** <https://community.sonarsource.com/t/sonarjava-stackoverflowerror-with-squid-s2637/2970>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube, java\
**Created:** [September 28, 2018, 2:32pm UTC](https://community.sonarsource.com/t/sonarjava-stackoverflowerror-with-squid-s2637/2970 "2018-09-28T14:32:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![n.boussuge](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@n.boussuge](https://community.sonarsource.com/u/n.boussuge)\
**Post date:** [September 28, 2018, 2:32pm UTC](https://community.sonarsource.com/t/sonarjava-stackoverflowerror-with-squid-s2637/2970/1 "2018-09-28T14:32:45Z")

</div>

- Versions used

- Error observed:

- Steps to reproduce:

Well, actually, I can’t reproduce the StackOverflowError **every time** , which is even worse.  
I ran the maven command three times in a row, no error, went for a drink, came back, ran it once, and then it failed.  
I sincerely hope the drink is not required to reproduce the problem.

Thanks,  
Nicolas

---

<div class="post-metadata">

**Author:** ![saberduck](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/saberduck/32/27_2.png) [@saberduck](https://community.sonarsource.com/u/saberduck)\
**Post date:** [July 1, 2019, 7:43pm UTC](https://community.sonarsource.com/t/sonarjava-stackoverflowerror-with-squid-s2637/2970/2 "2019-07-01T19:43:33Z")

</div>

hello @n.boussuge,

sorry for the late reaction. I confirm that I managed to reproduce the issue also on the current version of sonar-java analyzer, however, it seems to be undeterministic, as you described. It will be hard to pinpoint the problem with the current implementation, I created the ticket [https://jira.sonarsource.com/browse/SONARJAVA-3123](https://jira.sonarsource.com/browse/SONARJAVA-3123), to make the behavior of the symbolic execution engine completely deterministic, so it will be easier to reproduce issues like this. However, applying this change makes the problem disappear (although it is not a real fix).
