Hm, why the "|| getRootNode()"? This is not documented in the API dox, which demands subTree to be a non-null Node.