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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
  • Community
  • Products
  • Clover
  • Questions
  • [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NullPointerException:null)

[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
TAGS
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

149 views 1 4
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