Description
Incorrect Problems visualizing for InnerCalls.doubleCallFactorial
There is an error test with StackOverflowError generated:
- there is almost empty stack trace for it
- the wrong line is addressed in code from Problems view
To Reproduce
- Install one of the latest plugin build from main in IDEA
- Run the 'UTBotJava' project in IntelliJ Idea
- Use default Settings -> Tools -> UnitTestBot, set Problems view to be shown
- Use plugin to generate tests for the sample
org.utbot.examples.inner.InnerCalls.doubleCallFactorial() with default settings
- On Problems tab select the only error StackOverflowError
Expected behavior
Line in Recursion.factorial should be addressed - as it throws SOE.
Full stack trace is expected.
Actual behavior
Incorrect line is addressed - in not related method InnerCalls.callLoopInsideLoop()
Same incorrect lines are shown for different other methods in InnerCalls class.
Visual proofs (screenshots, logs, images)
- there is almost empty stack trace for it:

- the wrong line is addressed in code:

Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Additional context
Originally posted by @alisevych in #1364 (comment)
Description
Incorrect Problems visualizing for InnerCalls.doubleCallFactorial
There is an error test with StackOverflowError generated:
To Reproduce
org.utbot.examples.inner.InnerCalls.doubleCallFactorial()with default settingsExpected behavior
Line in Recursion.factorial should be addressed - as it throws SOE.
Full stack trace is expected.
Actual behavior
Incorrect line is addressed - in not related method InnerCalls.callLoopInsideLoop()
Same incorrect lines are shown for different other methods in InnerCalls class.
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Additional context
Originally posted by @alisevych in #1364 (comment)