You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/02/19 02:16:30 UTC

[jira] Closed: (MASSEMBLY-277) NullPointerException

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

John Casey closed MASSEMBLY-277.
--------------------------------

    Resolution: Fixed

> NullPointerException
> --------------------
>
>                 Key: MASSEMBLY-277
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-277
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Sejal Patel
>            Priority: Minor
>             Fix For: 2.2-beta-2
>
>         Attachments: npe-patch.txt
>
>
> org.apache.maven.plugin.assembly.archive.task.AddFileSetsTask line 76 
> is a NullPointerException spot (which bit me when I tried to make a new plugin that extended the current abstract one). Line 78 checks if project is null and retrieves the project. However, line 76 uses the project before the check/assignment is done. Recommend moving line 76 to be after the line 78 check. 

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