At the beginning of the last chapter, "The Second War Begins" all the main student characters are in the hospital wing visiting Ron, Hermione etc... They talk a bit and then Harry get's up to go visit Hagrid and it says that he looks out the dormitory window and then leaves the dormitory...
I thought they were in the hospital wing!
Not a big deal but I think it's a slip up.