In Jedi Luke's plan to rescue Han from Jabba backfires, his mind tricks don't work on Jabba and Jabba laughs at him. After being humiliated, he's tricked by Jabba and almost eaten by one of his pets. He gets captured and gets his hand blown off. He gets thrown off his bike and nearly killed by a scout trooper. He's told that he must face and kill his father despite not wanting to. He gets captured by little stuffed teddy bears. He can't convince his father to join him and he gets fried by the Emperor and would have died if Vader didn't intervene.
Everything in Jabba's palace and at the Sarlacc Pit came across as being "all part of the plan." When Star Wars Insider interviewed Irvin Kershner about ROTJ in the early 90's he said that he wished he had accepted George's initial offer to direct the final film because he worked very hard to have the heroes earn their victories in Empire and he didn't like that they coasted through all their scenes in Jedi. And for the most part I agree. Thank goodness we had that space battle as it was the one aspect of the film where the good guys' backs were up against the wall.
The fact that so many people have equated Rey of being a Mary Sue has got to count for something.
My understanding of a "Mary Sue" is that it's a character that is overpowered for the purpose of "wish fulfillment." Well, again, that's pretty much all superheroes, virtually every hero ever played by Stallone, Arnold, Van Damme, Seagal, etc., and yes, Star Wars characters as well. I didn't say that everyone is wrong to describe Rey that way, I just don't get the wholesale dismissal of her as a character and seemingly personal dislike against her. She's a fun and likable character that fits well within her respective film. Would I have wanted her to pop up in ESB or RO? Hell no. But IMO Abrams did a good job of constructing a story for her to take entertaining part in.