[ 
http://jira.codehaus.org/browse/MCHANGELOG-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189657#action_189657
 ] 

Mark Struberg commented on MCHANGELOG-104:
------------------------------------------

this has most probably already been fixed.

changelog-plugin-2.1 still uses maven-scm-1.0. 

In maven-scm-1.2 this has been fixed with

{noformat}
        if ( files != null )
        {
            for ( Iterator i = files.iterator(); i.hasNext(); )
{noformat}

Could you please test the changelog plugin by manually setting the dependency 
to maven-scm-1.2? - txs! (This should also include the gitexe provider)

> NPE when using the plugin with the git provider
> -----------------------------------------------
>
>                 Key: MCHANGELOG-104
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-104
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Maarten Billemont
>
> I've manually added a dependency on the gitexe provider to make the plugin 
> able to use it.  However, using the plugin with GIT then causes the following 
> NullPointerEception:
> Caused by: java.lang.NullPointerException
>         at org.apache.maven.scm.ChangeSet.toXML(ChangeSet.java:425)
>         at 
> org.apache.maven.scm.command.changelog.ChangeLogSet.toXML(ChangeLogSet.java:198)
>         at 
> org.apache.maven.plugin.changelog.ChangeLogReport.writeChangelogXml(ChangeLogReport.java:421)
>         at 
> org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:397)
>         at 
> org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:340)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)
>         ... 19 more

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