[ https://issues.apache.org/jira/browse/SCM-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731110#comment-16731110 ]
Michael Osipov commented on SCM-913: ------------------------------------ PRs welcome! > 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)