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

Test failes only in Clover

jaepyoung July 1, 2015

My envrionment is using Clover 4.0.4.

Java 8, but compile source and compile target are 1.5. 

If I execute test using mvn install, then all test were passed in maven sure fire report showed clean build. 

But som reason if I execute mvn clean clover2:instrument clover2:aggregate clover2:clover, then I got test fails with the error of java.lang.NullPointerException so Clover reports showed that we have tests failed. 

2 answers

0 votes
jaepyoung July 2, 2015

Thanks Grzegorz for your answer.

By coincidence there was huge change in the project yesterday, and this issue was gone after the huge change. 

 

 

0 votes
Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2015

Hi @Jaepyoung Kim

Could give us more information about the problem?

  1. Is every test failing or only some of them?
  2. Are you seeing any pattern on failed tests? 
  3. Could you run:

mvn clean clover2:instrument clover2:aggregate clover2:clover -X

and attach the stacktrace here? 

 

You can create issue on support.atlassian.com if you want to attach more sensitive data. 

 

Best regards,

Grzegorz Lewandowski

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events