[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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

131 views 0 9
Read article

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