You replied to a totally different topic than what you're posting about so I moved it into its own discussion.
For us to help you, you'll need to provide more information: Your InDesign version? You operating system? Does this only happen with one file or with many?
My InDesign Version is CC 2015, operating System Mac. After many successfull exports it happened the first time.
With one file
When you try to open the document, does it show a message when it closes?
Does it happen to any other document?