You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2006/03/11 18:31:29 UTC

[jira] Created: (MNG-2147) [maven-embedder-refactor] DefaultMavenExecutionRequest gives NPE on usage

[maven-embedder-refactor] DefaultMavenExecutionRequest gives NPE on usage
-------------------------------------------------------------------------

         Key: MNG-2147
         URL: http://jira.codehaus.org/browse/MNG-2147
     Project: Maven 2
        Type: Bug

  Components: Embedding  
    Versions: 2.1    
 Environment: jason's maven-embedder-refactor
    Reporter: Milos Kleint
 Attachments: DefaultMavenExecutionRequest.patch

the active and inactive profile lists don't get any values by default, one has to set at least an empty list there, otherwise a NPE is thrown lately.
The executionrequest should take care of it itself.

possible patch attached.


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


[jira] Closed: (MNG-2147) [maven-embedder-refactor] DefaultMavenExecutionRequest gives NPE on usage

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

     Resolution: Fixed
    Fix Version: 2.1

fixed

> [maven-embedder-refactor] DefaultMavenExecutionRequest gives NPE on usage
> -------------------------------------------------------------------------
>
>          Key: MNG-2147
>          URL: http://jira.codehaus.org/browse/MNG-2147
>      Project: Maven 2
>         Type: Bug

>   Components: Embedding
>     Versions: 2.1
>  Environment: jason's maven-embedder-refactor
>     Reporter: Milos Kleint
>     Assignee: Milos Kleint
>      Fix For: 2.1
>  Attachments: DefaultMavenExecutionRequest.patch
>
>
> the active and inactive profile lists don't get any values by default, one has to set at least an empty list there, otherwise a NPE is thrown lately.
> The executionrequest should take care of it itself.
> possible patch attached.

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