Hi,

   Inorder to get checkstyle report of my project I executed following
command

   C:\>mvn checkstyle:checkstyle

  For this I am getting following exception:

constituent[22]: file:/C:/maven-2.0/bin/../lib/doxia-
sink-api-1.0-alpha-4.jar
---------------------------------------------------
java.lang.NullPointerException
        at
org.apache.maven.usability.diagnostics.DiagnosisUtils.appendRootCause
IfPresentAndUnique(DiagnosisUtils.java:89)
        at
org.apache.maven.usability.diagnostics.ErrorDiagnostics$PuntErrorDiag
noser.diagnose(ErrorDiagnostics.java:132)
        at org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose
(Erro
rDiagnostics.java:104)
        at org.apache.maven.DefaultMaven.logDiagnostics(DefaultMaven.java
:693)
        at org.apache.maven.DefaultMaven.logFatal(DefaultMaven.java:627)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:143)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        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:324)
        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)


I want reason for this exception...

Thanks in advance

-----

Deepika.S

Reply via email to