Fixed NPE in AbstractRootMethod

Fixed NPE -- see commit message.