The same thing is happening to me. I was in the middle of backspacing out the search bar in NEI. I had just searched for xycraft machines and was deleting it. I did the shift click from the mod list to filter NEI. Now Minecraft crashes every time I open my inventory. I don't know if u need more...