maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gili (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SUREFIRE-715) NPE at org.apache.maven.plugin.surefire.AbstractSurefireMojo.ensureWorkingDirectoryExists()
Date Mon, 21 Mar 2011 01:44:22 GMT
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


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

        

Mime
View raw message