Ugh. That really sucks, man.
My girlfriend broke up with me after about six months in September last year. Our relationship was going really well in my opinion and she seemed to think so too, but she waited to explain all the flaws in it (that I could've easily fixed) until the day she decided to break up. Turns out I hadn't been giving her enough attention because I was moving at the time and I had my mind on a lot of other things, plus I was reluctant to hug her in school because we were always hanging out with my other friend who's claimed he loves her too. I didn't want to seem like a douchebag in front of him. She never said a word until she broke up out of nowhere. She's in my class too, so I have to go to school every day, see her, and be reminded of the mistakes I made that she wouldn't let me fix.