You do as much as you can. Pick a Pokemon, search for a replacement, and fail. The Pokemon in play stays put and Ninja Boy resolves.
Note this is like failing Ultra Ball: the contents of your deck are unknown, so you can "choose" to fail even if there's a valid target that you don't want to pick for whatever reason. The game doesn't know what's in your deck, even if both players do.