Throw an exception if trying to plant a null tree