You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/19 18:38:00 UTC
[jira] [Assigned] (SCM-913) NPE on ChangeSet.toString() when no mergedRevisions are set
[ https://issues.apache.org/jira/browse/SCM-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov reassigned SCM-913:
----------------------------------
Assignee: Michael Osipov
> 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
> Assignee: Michael Osipov
> 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
(v8.20.7#820007)