[
https://jira.codehaus.org/browse/MCHANGELOG-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MCHANGELOG-130.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Assignee: Olivier Lamy
Fixed.
Thanks!
> NullPointerException when no SCM <url> is defined
> -------------------------------------------------
>
> Key: MCHANGELOG-130
> URL: https://jira.codehaus.org/browse/MCHANGELOG-130
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Win 7, Java 6, Maven 3.0.4
> Reporter: Gabriel Belingueres
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 2.3
>
>
> A NullPointerException occurs on line 1495 of class ChangeLogReport, when the
> pom.xml file does not specify a scm <url> tag, even if the
> <displayFileDetailUrl> is specified.
> From what I saw in the code, the offending line is (in generateLinks()
> method):
> if ( !scmUrl.equals( linkFile ) )
> reversing the comparison should be sufficient (I think):
> if ( !linkFile.equals( scmUrl ) )
> Regards,
> Gabriel
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira