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

Paul Gier commented on MASSEMBLY-277:
-------------------------------------

You should attach the patch for this, because the line numbers can change 
pretty quickly making the description out of date.
It will have a better chance of being resolved if there is a patch attached.

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

        

Reply via email to