[
https://jira.codehaus.org/browse/MDEP-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312067#comment-312067
]
Benson Margulies commented on MDEP-388:
---------------------------------------
the supposedly-injected 'project' field is null. Just in case this was pirate
error:
{code}
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.5.1</version>
<reportSets>
<reportSet>
<reports>
<report>analyze-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
{code}
> NPE in analyze-report
> ---------------------
>
> Key: MDEP-388
> URL: https://jira.codehaus.org/browse/MDEP-388
> Project: Maven 2.x Dependency Plugin
> Issue Type: New Feature
> Components: analyze
> Affects Versions: 2.5.1
> Reporter: Benson Margulies
>
> Using Maven 3.0.4, and site plugin 3.2, and an execution of the
> analyze-report goal, I get the following NPE. I'm going to go try to make
> some sense and add notes here.
> {noformat}
> Caused by: java.lang.NullPointerException
> at
> org.apache.maven.plugin.dependency.AnalyzeReportMojo.executeReport(AnalyzeReportMojo.java:100)
> at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:135)
> at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
> at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
> at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ... 20 more
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira