Nevermind, I found a program called NBT Explorer to help me fix the problem. Apparently it was a chunk that froze up and had a problem with Java. I just went in and deleted the chunk and started up the world and it worked fine. It was the pulverizer in the thermal expansion mod, apparently there's some transfer item glitch.