I had a similar experience once, i tried shifting from 1 to 2 while under hard acceleration. I mean, i did close the throttel while shifting, but i did take first close to red line beforehand.
For some reason i ended up stuck in neutral, massive empty rev when i hit the throttle again, realised i was in N, tried clutching in and out again, 2nd would not go in, tried going back to 1st, nothing.
Since i was entering the highway i couldn't really stop, so i just lifed the pedal with a bit more strength, i t went into second with a massive heart braking crunch!
After that i was sure i had broken my gearbox, was so paranoid about it for weeks but it ran just fine.
When i did my oil change i opened the filter expecting to find half my gearbox in there and there wasn't a single metal shaving, not even any dust.
I have read about people breaking their gearbox, bu i think it is pretty hard to do on this bike!