Hello doctor? I'm not feeling well. Can you please tell me why?
I know that sentence sounded silly, but it's really exactly what you have done here. The point being, we need a bit more information!
Things you can try.
Look at the output messages. Does anything point to a single file? If so, that file is suspect.
Perhaps make a copy of the project. Delete half the topics and generate again. All go well or did it die? If all was well, copy again and delete the other half of the topics. Rinse and Repeat until you isolate the offending topic(s).