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
        Type: Bug

    Reporter: Baerrach bonDierne
    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