[ 
https://jira.codehaus.org/browse/MASPECTJ-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MASPECTJ-102.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
         Assignee: Robert Scholte

To my surprise {{project.getDependencyArtifacts()}} doesn't always return a 
{{List}}, in some cases it will return {{null}}.
Fixed in [rev. 14602|http://fisheye.codehaus.org/changelog/mojo/?cs=14602] with 
an extra test. Thanks for the patch!

> NullPointerException when running under m2e 1.0
> -----------------------------------------------
>
>                 Key: MASPECTJ-102
>                 URL: https://jira.codehaus.org/browse/MASPECTJ-102
>             Project: Mojo AspectJ Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>            Reporter: Harald Wellmann
>            Assignee: Robert Scholte
>             Fix For: 1.4
>
>         Attachments: MASPECTJ-102.patch
>
>
> I wrote an m2e Extension for the AspectJ plugin, see 
> https://github.com/hwellmann/m2eclipse-extras/tree/master/org.omadac.m2e.aspectj.
>  
> Running under m2e, the aspectj-maven-plugin hit a NullPointerException, which 
> I fixed with the attached patch.
> I don't know enough about Maven internals to decide if this a good solution, 
> or if this a problem of my extension, of the aspectj-maven-plugin, or of m2e, 
> or of Maven itself. 
> Somehow this smells like a Maven 2/Maven 3 incompatibility and might be 
> related to MASPECTJ-101.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to