You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/01/22 00:35:17 UTC

[jira] Moved: (SUREFIRE-251) NPE with svn version of surefire-report-maven-plugin

     [ http://jira.codehaus.org/browse/SUREFIRE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MSUREFIREREP-13 to SUREFIRE-251:
---------------------------------------------------

    Fix Version/s:     (was: 2.0 Report Plugin)
                   2.0 Report Plugin
              Key: SUREFIRE-251  (was: MSUREFIREREP-13)
          Project: Maven Surefire  (was: Maven 2.x Surefire report Plugin)

> NPE with svn version of surefire-report-maven-plugin
> ----------------------------------------------------
>
>                 Key: SUREFIRE-251
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-251
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: osx 10.4.9, java 1.4.2_09
>            Reporter: Julian Wood
>         Assigned To: Johnny R. Ruiz III
>             Fix For: 2.0 Report Plugin
>
>
> >mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> add to resultant pom:
>   <reporting>
>         <plugins>
>            <plugin>
>                <groupId>org.codehaus.mojo</groupId>
>                <artifactId>surefire-report-maven-plugin</artifactId>
>            </plugin>
>         </plugins>
>     </reporting>
> >mvn site
> --> site builds, but reports are empty (2.0-beta-1 surefire-report-maven-plugin)
> - download tarball from svn <http://svn.mojo.codehaus.org/trunk/mojo/surefire-report-maven-plugin/>
> > mvn install
> - rebuild site with new plugin (2.0-beta-2-SNAPSHOT)
> > mvn site
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Quick Start Archetype
> [INFO]    task-segment: [site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] null
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:645)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:622)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:501)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>         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: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)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Thu Oct 27 10:37:39 CST 2005
> [INFO] Final Memory: 1M/3M
> [INFO] ----------------------------------------------------------------------------

-- 
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