Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve error message in case of reading of old dump file #319
Speaking on behalf of @benzonico, who maintains JaCoCo integration with SonarQube:
Indeed, this message is hard for understanding by end-users, while it can reach them during attempt to read old dump file. See for example discussion http://stackoverflow.com/questions/30459260/jacoco-sonarqube-incompatible-version-1007
@Godin I also wonder whether JaCoCo should introduce a specific IOException (IncompatibleExecFileVersionException extends IOException) so Sonar could react in a more user friendly way?
The general question is whether todays exec file format is the correct exchange format in the long run. Possible alternatives are:
referenced this pull request
Jun 27, 2015
pushed a commit
this pull request
Jun 28, 2015
This error message also alienated me, when coming across it while doing some
For me, there are three issues with this error message
Bottom line: I'd replace the error message
Incompatible version 1007
Failed to read version 6 data (This JaCoCo build can only read/write version 7 data). To read the version 6 data, use the same JaCoCo version that got used for writing it.
Jacoco last version I installed :jacoco-0.7.6-20150603.214955-4
I installed EclEmma jacoco plugin today.