NPE during "Developer Activity" report generation
-------------------------------------------------

                 Key: MCHANGELOG-54
                 URL: http://jira.codehaus.org/browse/MCHANGELOG-54
             Project: Maven 2.x Changelog Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-1
         Environment: windows 2000, maven 2.0.4, SCM Synergy

maven-changelog-plugin:2.0-SNAPSHOT


            Reporter: David Vicente
         Attachments: changelog-patch.txt

I'm using the maven-changelog-plugin:2.0-SNAPSHOT and i have a 
NullPointerException during "Developer Activity" report generation.

java.lang.NullPointerException at 
org.apache.maven.plugin.changelog.ChangeLogReport.countFilesChanged(ChangeLogReport.java:889)
 
at 
org.apache.maven.plugin.changelog.DeveloperActivityReport.doSummary(DeveloperActivityReport.java:221)
 
at 
org.apache.maven.plugin.changelog.DeveloperActivityReport.doChangedSets(DeveloperActivityReport.java:180)
 
at 
org.apache.maven.plugin.changelog.DeveloperActivityReport.doGenerateReport(DeveloperActivityReport.java:146)
 
at 
org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:296)
 

I have the Synergy SCM. 

it occurs when a Synergy task is completed without modified file, the 
changelog.xml has an entry without file.

it occurs with the last released version.

I made the correction (see changelog-patch.txt) and it works fine




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