Hi,
That possible mean that nothing was selected/found, make sure that all the objects to be selected are visible in the screen before the select operation. If that is not the reason, please post the code and intended use case for that code.
Gaston Nunez