jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Changelog Plugin
  • MCHANGELOG-104

NPE when using the plugin with the git provider

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1
  • Fix Version/s: 2.2
  • Labels:
    None

Description

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

Issue Links

relates to

New Feature - A new feature of the product, which has yet to be developed. MCHANGELOG-92 update to maven-scm:1.3 to have the gitexe provider

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 03/Sep/09 3:49 AM

Are you using plugin trunk ?

Show
Olivier Lamy added a comment - 03/Sep/09 3:49 AM Are you using plugin trunk ?
Hide
Permalink
Maarten Billemont added a comment - 03/Sep/09 3:55 AM

Nope, maven-changelog-plugin-2.1.

Show
Maarten Billemont added a comment - 03/Sep/09 3:55 AM Nope, maven-changelog-plugin-2.1.
Hide
Permalink
Mark Struberg added a comment - 03/Sep/09 4:30 AM

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

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

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)

Show
Mark Struberg added a comment - 03/Sep/09 4:30 AM 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
        if ( files != null )
        {
            for ( Iterator i = files.iterator(); i.hasNext(); )
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)
Hide
Permalink
Dennis Lundberg added a comment - 29/Apr/10 3:51 PM

The current 2.2-SNAPSHOT of this plugin has had the SCM component upgraded to version 1.3. Could you please test 2.2-SNAPSHOT to see if it resolves this issue.

Show
Dennis Lundberg added a comment - 29/Apr/10 3:51 PM The current 2.2-SNAPSHOT of this plugin has had the SCM component upgraded to version 1.3. Could you please test 2.2-SNAPSHOT to see if it resolves this issue.
Hide
Permalink
Maarten Billemont added a comment - 30/Apr/10 3:49 AM

Seems OK with 2.2-SNAPSHOT.

Show
Maarten Billemont added a comment - 30/Apr/10 3:49 AM Seems OK with 2.2-SNAPSHOT.

People

  • Assignee:
    Mark Struberg
    Reporter:
    Maarten Billemont
Vote (2)
Watch (3)

Dates

  • Created:
    03/Sep/09 3:09 AM
    Updated:
    30/Apr/10 8:34 AM
    Resolved:
    30/Apr/10 8:34 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.