are you sure it should be not null ? I think it should not be found, so the result is null.
You have chance for a infinite loop here ;)