The result some cryptic exception during the test run, originated in the Area2d class:
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
The funfact is: I got the same error if the lineSegmentSeries method returns with a Vector, instead of ArrayList. More than that - as it can be seen in the commented out lines - I rewrote that enhanced for loop to a classic for loop, and then the above exception has been thrown in the very first line after the for loop. Even if it is just a System.out.println("hello").
If I comment the coverage tool out in the pom.xml the problem doesn't occur.
I haven't spend any time to try to minimize the code site which produces the error - I'll try later, but I wanted to open an issue. Maybe it will be familiar to someone.
The text was updated successfully, but these errors were encountered: