[
https://issues.apache.org/jira/browse/SCM-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965098#comment-17965098
]
Olivier Lamy commented on SCM-913:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#1126|https://github.com/apache/maven-scm/issues/1126].
> NPE on ChangeSet.toString() when no mergedRevisions are set
> -----------------------------------------------------------
>
> Key: SCM-913
> URL: https://issues.apache.org/jira/browse/SCM-913
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-api
> Affects Versions: 1.11.1
> Reporter: Roli Jäger
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 1.13.0, 2.0.0-M2
>
>
> 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
(v8.20.10#820010)