You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Anatol Pomozov (JIRA)" <ji...@codehaus.org> on 2005/05/26 18:27:21 UTC

[jira] Created: (MNG-430) NPE in repoclean

NPE in repoclean
----------------

         Key: MNG-430
         URL: http://jira.codehaus.org/browse/MNG-430
     Project: Maven 2
        Type: Bug
  Components: repository-tools  
    Versions: 2.0-alpha-3    
    Reporter: Anatol Pomozov
 Attachments: artifact.patch

There was wrong logic in src/main/java/org/apache/maven/tools/repoclean/artifact/metadata/ProjectMetadata.java it returns null and it causes NPE. It should return information from artifact. 
Simple patch fixed this bug.

-- 
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] Updated: (MNG-430) NPE in repoclean

Posted by "Anatol Pomozov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-430?page=all ]

Anatol Pomozov updated MNG-430:
-------------------------------

    Attachment: artifact.patch

> NPE in repoclean
> ----------------
>
>          Key: MNG-430
>          URL: http://jira.codehaus.org/browse/MNG-430
>      Project: Maven 2
>         Type: Bug
>   Components: repository-tools
>     Versions: 2.0-alpha-3
>     Reporter: Anatol Pomozov
>  Attachments: artifact.patch
>
>
> There was wrong logic in src/main/java/org/apache/maven/tools/repoclean/artifact/metadata/ProjectMetadata.java it returns null and it causes NPE. It should return information from artifact. 
> Simple patch fixed this bug.

-- 
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: (MRM-3) NPE in repoclean

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-3?page=all ]
     
John Casey closed MRM-3:
------------------------

    Resolution: Fixed

patched in pending svn commit, will deploy soon

Thanks Anatol.

> NPE in repoclean
> ----------------
>
>          Key: MRM-3
>          URL: http://jira.codehaus.org/browse/MRM-3
>      Project: Maven Repository Manager
>         Type: Bug
>   Components: repository-converter
>     Reporter: Anatol Pomozov
>  Attachments: artifact.patch
>
>
> There was wrong logic in src/main/java/org/apache/maven/tools/repoclean/artifact/metadata/ProjectMetadata.java it returns null and it causes NPE. It should return information from artifact. 
> Simple patch fixed this bug.

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