private void goToNextTreeNodeMatch() {
decommitVariableGroups(); // make sure variable groups are free.
removeNamedNodes(); // if we named a node, it should now be unnamed
finished = true;
Matcher m = null;
<BUG>String value = null;
while (treeNodeMatchCandidateIterator.hasNext()) {</BUG>
nextTreeNodeMatchCandidate = treeNodeMatchCandidateIterator.next();
if (myNode.descriptionMode == null) {
if (myNode.isLink) {

private void goToNextTreeNodeMatch() {
decommitVariableGroups(); // make sure variable groups are free.
removeNamedNodes(); // if we named a node, it should now be unnamed
finished = true;
Matcher m = null;
String value = null;
if (treeNodeMatchCandidateIterator == null) {
treeNodeMatchCandidateIterator = myNode.rel.searchNodeIterator(tree, this);
}
while (treeNodeMatchCandidateIterator.hasNext()) {
nextTreeNodeMatchCandidate = treeNodeMatchCandidateIterator.next();
if (myNode.descriptionMode == null) {
if (myNode.isLink) {
