I think there's a state in the US where criminals waive their 'rights' the moment they commit a crime. Thereofre if they decide to burgle someone's house and fell on some kitchen knife, got shot or injured themselves on some barbed wire, they have no right to sue.
i don't think criminals should be allowed to sue their victims, no. for example, when I read in the paper about burglars suing for cutting themselves on barbed wire when they're trying to get away. Or suing because the person they were attacking / mugging got the upper hand and beat the crap out of them. No, they shouldn't have any rights. Obviously there's no mistake they're comitting a crime.
Walking across a farmer's land is different. You may not know it's private land, the farmer shouldn't decide to beat the crap out of you because it's unlikely you're causing him any danger.