It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Test failes only in Clover

Jaepyoung Kim Jul 01, 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
Grzegorz Lewandowski Atlassian Team Jul 01, 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

 

0 votes
Jaepyoung Kim Jul 02, 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. 

 

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

10,986 views 54 53
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you