GitHub user kyegupov opened a pull request:
https://github.com/apache/groovy/pull/516
More useful error message in NodeList.replaceNode method
I ran into this unhelpful message when using one of plugins for Gradle that
patched config files. Knowing the actual number of nodes would help to identify
the issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kyegupov/groovy
better-error-message-for-replacenode
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/516.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #516
----
commit 6f77ccb8585ab096369f6934bb86ecaa9ba45b46
Author: Konstantin Yegupov <[email protected]>
Date: 2017-03-22T18:52:44Z
More useful error message in NodeList.replaceNode method
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---