[CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

Fellow Clover users,

I am trying to setup clover to measure code coverage from my Selenium tests. Could you help me to see what am I doing wrong here ? you time and help is much apprciated.

on Machine A - generate a War from grails with clover turned on

it generated War with instrumented classe and generated clover.db and few other clover.db* files

on Machine B-hosting environament which has Jboss.

copied war from A to B

copied clover.db from A to B

updated Jboss start up script to point init string to clover.db file

When Jboss started, its throwing below ERROR:

012-03-10 20:12:24,001 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,008 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,036 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,073 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,094 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,193 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,255 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,276 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,300 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,346 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,350 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,369 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,550 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,591 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,594 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,599 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,648 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,662 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,673 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,765 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,781 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

2012-03-10 20:12:24,791 -0800 level=ERROR class=STDERR [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

1 answer

I am also facing the same issue. Please let me know how you resolved it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

463 views 83 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you