I noticed you said somewhere you had a bad back. When my back was really bad I had a nigtmare with cramps in my legs waking me up every night. At it's worst I even woke up with cramps in my hands

. A sore back throws everything out so it may be something to do with that.
Of course, it could also be something to do with the fact that you were absolutely wrecked the night before too
