If the victim does not suffer financial harm, that does not excuse the criminal act. If you are held up at gunpoint, and it turns out you have no money on you to steal, the perpetrator will still be convicted of armed robbery. The lack of financial harm will not even reduce his sentence. Courts focus on the intent of the criminal and less so on the outcome of the crime.