Hi Charlie,
Im answering on the maven list as this is the right location where to ask questions. Please use the list in the future. I dont know whats wrong in your case but I know how to find the answer. Please run maven in debug mode (-X) and check the console logs. More specifically look for the string Parameter list being passed to Clover CLI: and check the parameters. Let us know what you find so that we can fix this NPE. Thanks -Vincent _____ From: falcon project [mailto:[EMAIL PROTECTED] Sent: vendredi 25 août 2006 21:06 To: [EMAIL PROTECTED] Subject: clover plugin problem Hi, I am trying to get clover maven 2 plgin working but seem to have run into a problem during first off db generation. Here is the snipet of my pom: .... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <configuration> <jdk>1.5</jdk> </configuration> <executions> <execution> <phase>pre-site</phase> <goals> <goal>instrument</goal> </goals> </execution> </executions> </plugin> ...... The I run mvn site and I am getting a error: [INFO] Preparing clover:instrument [WARNING] Removing: instrument from forked lifecycle, to prevent recursive invoc ation. [INFO] [clover:instrumentInternal] Clover Version 1.3.12, built on February 08 2006 loaded from: C:\Documents and Settings\Charlie\.m2\repository\com\cenqua\clover\ clover\1.3.12\clover-1.3.12.jar 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. After this, please visit ht tp://www.cenqua.com to obtain a licensed version of Clover No coverage database 'D:\coding\eWork\falconCore\trunk\target/clover/clover.db' found. Creating a fresh one. Processing files at 1.5 source level. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at com.cenqua.clover.CloverInstr.a(1.3.12-build-649:100) at com.cenqua.clover.CloverInstr.mainImpl(1.3.12-build-649:65) at org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.instrumen tSources(CloverInstrumentInternalMojo.java:156) at org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.execute (C loverInstrumentInternalMojo.java:122) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy cle(DefaultLifecycleExecutor.java:891) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def aultLifecycleExecutor.java:734) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:505) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Fri Aug 25 13:35:47 BST 2006 [INFO] Final Memory: 4M/10M [INFO] ------------------------------------------------------------------------ Not sure what I have done wrong.. and haven't managed to find a similar thread.. Please any advice will be appriciated. Charlie