Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ERROR: Invalid Java source found or Clover failed to parse it

Gokul dhas Jackz January 12, 2016

Hi Clover Team,

While I am generating report I am getting an error 

ERROR: Invalid Java source found or Clover failed to parse it

for two files.

Can you please tell what could be reason for this error.
How to resolve this.

[ Due two this error coverage percentage also getting low. ]

1 answer

1 accepted

0 votes
Answer accepted
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2016

Hi Gokul, as the error message states, Clover was unable to parse the source file - this error message contains also a full path to a file causing the problem. It may be caused by syntax errors in these files or by invalid character encoding. Please check content of these files. 

In case you think that files are correct, please raise a ticket at support.atlassian.com and attach them, so that we could analyse the problem further.

Gokul dhas Jackz January 13, 2016

Thank you Marek.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events