avoid NPE during trace (EA-47968)

This commit is contained in:
Maxim.Mossienko
2013-07-29 12:46:31 +02:00
parent 61dd4a29b2
commit e23cf15445
@@ -508,7 +508,8 @@ public class TreeChangeImpl implements TreeChange {
buffer.append("(");
buffer.append(node.getElementType().toString());
buffer.append(" at ").append(pair.getSecond()).append(", ");
buffer.append(getChangeByChild(node).toString());
ChangeInfo child = getChangeByChild(node);
buffer.append(child != null ? child.toString():"null");
buffer.append(")");
if(iterator.hasNext()) buffer.append(", ");
}