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

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

Venkat Gajulapalli March 10, 2012

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

0 votes
Devi Raman September 2, 2012

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
TAGS
AUG Leaders

Atlassian Community Events