[ http://jira.codehaus.org/browse/MNG-1721?page=all ]
John Casey closed MNG-1721:
---------------------------
Resolution: Fixed
Fix Version: 2.0.1
forgot fix version
> Checkstyle report generation problem
> ------------------------------------
>
> Key: MNG-1721
> URL: http://jira.codehaus.org/browse/MNG-1721
> Project: Maven 2
> Type: Bug
> Components: maven-checkstyle-plugin
> Versions: 2.0
> Environment: Windows XP, JDK 5.0 update4, Maven 2.0.1
> Reporter: YueNi
> Assignee: John Casey
> Fix For: 2.0.1
>
>
> I use maven checkstyle plugin(2.0-beta-1) to generate a checkstyle report. I
> configed it in the pom.xml and enter "mvn site:site" to generate the report.
> But I got a NullPointerExcetpion just like the error described in
> http://pastebin.ca/30802.
> The stack trace is:
> [INFO] Generate "Checkstyle" report.
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ----------------------------------------------------------------------------
> ---------------------------------------------------
> constituent[0]: file:/D:/maven2/bin/../lib/maven-core-2.0.jar
> constituent[1]:
> file:/D:/maven2/bin/../lib/maven-plugin-parameter-documenter-2.0.jar
> constituent[2]: file:/D:/maven2/bin/../lib/maven-model-2.0.jar
> constituent[3]: file:/D:/maven2/bin/../lib/maven-profile-2.0.jar
> constituent[4]: file:/D:/maven2/bin/../lib/maven-project-2.0-1.jar
> constituent[5]: file:/D:/maven2/bin/../lib/maven-error-diagnostics-2.0.jar
> constituent[6]:
> file:/D:/maven2/bin/../lib/plexus-interactivity-api-1.0-alpha-4.jar
> constituent[7]:
> file:/D:/maven2/bin/../lib/wagon-http-lightweight-1.0-alpha-5.jarjava.lang.NullPointerException
> at
> org.apache.maven.usability.diagnostics.DiagnosisUtils.appendRootCauseIfPresentAndUnique(DiagnosisUtils.java:89)
> at
> org.apache.maven.usability.diagnostics.ErrorDiagnostics$PuntErrorDiagnoser.diagnose(ErrorDiagnostics.java:132)
> at
> org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose(ErrorDiagnostics.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(DelegatingMethodAccessorImpl.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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]