[ http://jira.codehaus.org/browse/MCHANGELOG-38?page=comments#action_70640 
] 
            
Dennis Lundberg commented on MCHANGELOG-38:
-------------------------------------------

I have been trying to reproduce this, but haven't been able to. I built and 
installed the latest version of this plugin from SVN. Then I have tried it on 
two plugins: maven-jxr-plugin and maven-docck-plugin after adding the 
appropriate configuration:

{code}
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
        <reportSets>
          <reportSet>
            <id>triple-report</id>
            <reports>
              <report>changelog</report>
              <report>dev-activity</report>
              <report>file-activity</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
{code}

Can you please try this and see if this is still an issue for you?

> NPE when developer section does not include an id
> -------------------------------------------------
>
>                 Key: MCHANGELOG-38
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-38
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>            Reporter: Baerrach bonDierne
>         Assigned To: Dennis Lundberg
>            Priority: Critical
>
> [DEBUG] Trace
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:398)
>         at 
> org.apache.maven.changelog.ChangeLog.getUserList(ChangeLog.java:530)
>         at 
> org.apache.maven.changelog.ChangeLog.replaceAuthorIdWithName(ChangeLog.java:541)
>         at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:370)
>         at 
> org.apache.maven.changelog.ChangeLogReport.getChangeLog(ChangeLogReport.java:263)
>         at 
> org.apache.maven.changelog.ChangeLogReport.generateChangeSetsFromSCM(ChangeLogReport.java:218)
>         at 
> org.apache.maven.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:198)
>         at 
> org.apache.maven.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:173)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:117)
>         at 
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> This is easy to replicate, find a working "mvn site" and then remove an id 
> from a developer.
> This is for plugin
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-changelog-plugin</artifactId>
> I'd like to provide version details but this plugin isn't in my repository! 
> So I am not sure how it is actually working.
> The website does't point to a repository, and I accidentally found it at 
> http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-changelog-plugins
> but this code doesn't match up with the error message.
> I couldn't find the code base from the the old codehaus repository either.

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