[
https://issues.apache.org/jira/browse/SCM-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963577#comment-17963577
]
ASF GitHub Bot commented on SCM-913:
------------------------------------
jira-importer commented on issue #1126:
URL: https://github.com/apache/maven-scm/issues/1126#issuecomment-2964647189
**[Michael
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
commented
Fixed with
[662b58a73d49ba2f7d728543ab6a10987b5324da](https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=662b58a73d49ba2f7d728543ab6a10987b5324da)
and with
[92a09124c9a0827a694dbf54a6e96370903bf658](https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=92a09124c9a0827a694dbf54a6e96370903bf658)
for `maven-scm-1.x` branch.
> 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)