maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Checkstyle crashes with NullPointerException in DefaultCheckstyleRssGenerator.generateRSS in Maven 3
Date Thu, 20 Jun 2013 10:53:03 GMT
'Morning Adam
 
I couldnt locate README.md..please supply

thanks,
Martin Gainty 
______________________________________________ 
Place standard disclaimer here


 
> Date: Wed, 19 Jun 2013 16:25:08 -0700
> Subject: Checkstyle crashes with NullPointerException in DefaultCheckstyleRssGenerator.generateRSS
in Maven 3
> From: adamcrume@gmail.com
> To: users@maven.apache.org
> 
> Checkstyle crashes when I run it with Maven 3.0.4, but works with Maven
> 2.2.1.
> 
> I'm afraid I don't know enough about Maven to create a smaller test case
> than this:
> 
> 1. Set JAVA_HOME to a 1.6 JDK
> 2. Clone http://github.com/nasa/mct
> 3. Follow the steps in README.md, using Maven 3
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.4:checkstyle
> (published-api-checks) on project mct-platform: Execution
> published-api-checks of goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.4:checkstyle failed.
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-checkstyle-plugin:2.4:checkstyle
> (published-api-checks) on project mct-platform: Execution
> published-api-checks of goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.4:checkstyle failed.
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         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:597)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> published-api-checks of goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.4:checkstyle failed.
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         ... 19 more
> Caused by: java.lang.NullPointerException
>         at
> org.apache.maven.plugin.checkstyle.rss.DefaultCheckstyleRssGenerator.generateRSS(DefaultCheckstyleRssGenerator.java:72)
>         at
> org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:639)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:131)
>         at
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:76)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> 
> Adam
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message