You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Vicente (JIRA)" <ji...@codehaus.org> on 2007/02/22 11:06:27 UTC

[jira] Created: (MCHANGELOG-54) NPE during "Developer Activity" report generation

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

        

[jira] Commented: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "David Vicente (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88250 ] 

David Vicente commented on MCHANGELOG-54:
-----------------------------------------

i have the same NPE in doChangedFiles method of ChangeLogReport class and also in getOrderedFileList method of FileActivityReport class.

For these 3 classes, when you get the files list from a ChangeSet, you doesn't test if files list is null or not.

So, the problem is , with Synergy SCM, you can complete a task without checkout files.

so you can have a changelog-entry in changelog.xml without file element.

I hope it will be corrected as soon as possible

> 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

        

[jira] Updated: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "David Vicente (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Vicente updated MCHANGELOG-54:
------------------------------------

    Attachment: changelog-patch-2.txt

the first changelog-patch.txt contains only the correction for ChangeLogReport.

use the changelog-patch-2.txt for the 3 classes as described above

> 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-2.txt, 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

        

[jira] Closed: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGELOG-54.
-------------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.1

> 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
>            Assignee: Dennis Lundberg
>             Fix For: 2.1
>
>         Attachments: changelog-patch-2.txt, 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

        

[jira] Commented: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "David Vicente (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98276 ] 

David Vicente commented on MCHANGELOG-54:
-----------------------------------------

I have tested the new 2.1-SNAPSHOT version and for me it's ok.

thanks

> 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-2.txt, 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

        

[jira] Commented: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97801 ] 

Dennis Lundberg commented on MCHANGELOG-54:
-------------------------------------------

The Synergy provider has been fixed, a new release of SCM has been made and the this plugin is using that latest release. I've deployed a new 2.1-SNAPSHOT of this plugin. Could you have a go and verify that this problem has been fixed?

> 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-2.txt, 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

        

[jira] Issue Comment Edited: (MCHANGELOG-54) NPE during "Developer Activity" report generation

Posted by "David Vicente (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGELOG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98276 ] 

David Vicente edited comment on MCHANGELOG-54 at 6/4/07 7:10 AM:
-----------------------------------------------------------------

I have tested the new 2.1-SNAPSHOT version and for me it's ok.

You can close this issue.

thanks


 was:
I have tested the new 2.1-SNAPSHOT version and for me it's ok.

thanks

> 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-2.txt, 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