[ 
https://issues.apache.org/jira/browse/SCM-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-913:
-------------------------------
    Fix Version/s: waiting-for-feedback

> NPE on ChangeSet.toString() when no mergedRevisions are set
> -----------------------------------------------------------
>
>                 Key: SCM-913
>                 URL: https://issues.apache.org/jira/browse/SCM-913
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-api
>    Affects Versions: 1.11.1
>            Reporter: Roli Jäger
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> Calling toString() on ChangeSet will result in an NPE if neither 
> addMergedRevision () nor getMergedRevisions() was previously called.
> The solution would be to access mergedRevisions by calling 
> getMergedRevisions() as done in the toXML() Method.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to