Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Running clover within a bitbucket pipeline

I have a Gradle multi-project build that compiles Java and runs tests with code coverage using Clover. This runs fine on my local machine, either native or within the pipeline's Docker container, and used to run fine within our Bamboo server.

However since moving it to Pipelines I've been seeing a lot of failures within the build. My guess is that this is something related to the Docker environment or the resources it has.

Has anyone else run into issues with this?

Caused by: java.lang.NullPointerException 
at com.atlassian.clover.reporters.ColumnFormat$FloatColumnFormat.sortValue(ColumnFormat.java:145)

at com.atlassian.clover.reporters.Column.sortValue(Column.java:96)

at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at clover.org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)

at clover.org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)

at clover.org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 108 more

[ant:clover-report] nulljava.lang.NullPointerException
at com.atlassian.clover.reporters.json.RenderMetricsJSONAction.call(RenderMetricsJSONAction.java:60)

at com.atlassian.clover.util.CloverExecutors$LoggingCallable.call(CloverExecutors.java:91)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events