pmd: fix #1136 ECAMScript: NullPointerException in getLeft() and getRight()