You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/04/11 15:07:22 UTC

[jira] Closed: (SUREFIRE-715) NPE at org.apache.maven.plugin.surefire.AbstractSurefireMojo.ensureWorkingDirectoryExists()

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

Kristian Rosenvold closed SUREFIRE-715.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.1
         Assignee: Kristian Rosenvold

Fixed in r1091058

> NPE at org.apache.maven.plugin.surefire.AbstractSurefireMojo.ensureWorkingDirectoryExists()
> -------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-715
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-715
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.8
>            Reporter: Gili
>            Assignee: Kristian Rosenvold
>             Fix For: 2.8.1
>
>
> If the plugin is configured using a null workingDirectory:
>   <workingDirectory>${project.project.directory}</workingDirectory>
> The plugin throws the following exception:
> java.lang.NullPointerException
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.ensureWorkingDirectoryExists(AbstractSurefireMojo.java:1054)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.verifyParameters(AbstractSurefireMojo.java:126)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:100)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> [snip]

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