Uploaded image for project: 'Maven Changelog Plugin'
  1. Maven Changelog Plugin
  2. MCHANGELOG-54

NPE during "Developer Activity" report generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.1
    • None
    • windows 2000, maven 2.0.4, SCM Synergy

      maven-changelog-plugin:2.0-SNAPSHOT

    • Patch

    Description

      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

      Attachments

        1. changelog-patch.txt
          2 kB
          David Vicente
        2. changelog-patch-2.txt
          5 kB
          David Vicente

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              dvicente72 David Vicente
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: