Hi All,
I think I found the probable reason for this issue - the reason could be below
**** this is the reply from Marc **********
........The files contain multiple sessions, written one after the other. At some point a sessions is not dumped completely (some bytes missing at the end of a record). It looks like the JVM was terminated before the data could be written properly. E.g. killing a process might lead to this.
**** this is the reply from Marc **********
To avoid this situation in future, I am taking a regular back up of the jacoco.exec file, using a work around.
I am using a batch file, with the below lines to launch the eclipse
ren "jacoco.exec" "jacoco - %date:/=-% %time::=-%.exec"
PAUSE
START eclipse.exe
With this, every time I launch the batch file, the earlier jacoco file will be appended with the time stamp :-)
Also, I am minimizing the risk of the jacoco.exec file getting bloated
I would like to thank Marc for the time and advice
PS: What I learnt: Do no kill the eclipse.exe file
Thank you
Aneesh Kumar