I have a Java project with several classes, and I've created junit test cases for each classes.
I've used jacoco plugin to check the unit test coverage of my project using sonarQube 5.5. I'm working on Eclipse Mars 4.5.2 on Windows 7
When I run mvn install using the Eclipse plugin, it reports that a few of my test cases have failed (without any stacktrace as to why), and I see the following exception:
An error has occurred in JaCoCo report generation. Error while creating report: Unknown block type 7.
However, when I run these test cases individually in Eclipse, they work just fine and are successful, meaning that I'm not running mvn install on test cases with incorrect assertions.
I thought that this might be an issue with my Eclipse maven plugin, so I ran mvn install separately using cmd as well, but I get the same exception.
I refreshed my project in Eclipse. All my test cases pass after that (strangely), but I still see this exception.
What does this exception mean and how can I address it ?
Any guidance will be earnestly appreciated. Thanks