You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2005/08/08 19:53:58 UTC

[jira] Created: (MNG-711) NPE when calling 'm2 surefire:test'

NPE when calling 'm2 surefire:test'
-----------------------------------

         Key: MNG-711
         URL: http://jira.codehaus.org/browse/MNG-711
     Project: Maven 2
        Type: Bug
    Versions: 2.0-beta-1    
 Reporter: Kenney Westerhof
 Assigned to: Kenney Westerhof 
     Fix For: 2.0-beta-1


MavenProject.getArtifacts() can return null when a single mojo is called (and @requiresDependencyResolution is not set).
The code however expects it to be non-null (everywhere .size() etc. is called).


-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Resolved: (MNG-711) NPE when calling 'm2 surefire:test'

Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-711?page=all ]
     
Kenney Westerhof resolved MNG-711:
----------------------------------

    Resolution: Fixed

> NPE when calling 'm2 surefire:test'
> -----------------------------------
>
>          Key: MNG-711
>          URL: http://jira.codehaus.org/browse/MNG-711
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-beta-1
>     Reporter: Kenney Westerhof
>     Assignee: Kenney Westerhof
>      Fix For: 2.0-beta-1

>
>
> MavenProject.getArtifacts() can return null when a single mojo is called (and @requiresDependencyResolution is not set).
> The code however expects it to be non-null (everywhere .size() etc. is called).

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-711) NPE when calling 'm2 surefire:test'

Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-711?page=all ]
     
Kenney Westerhof closed MNG-711:
--------------------------------


> NPE when calling 'm2 surefire:test'
> -----------------------------------
>
>          Key: MNG-711
>          URL: http://jira.codehaus.org/browse/MNG-711
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-beta-1
>     Reporter: Kenney Westerhof
>     Assignee: Kenney Westerhof
>      Fix For: 2.0-beta-1

>
>
> MavenProject.getArtifacts() can return null when a single mojo is called (and @requiresDependencyResolution is not set).
> The code however expects it to be non-null (everywhere .size() etc. is called).

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org