Watch the export in the preview of AME and see where it exactly stops.
That is what you need to fix on the timeline.
Can be anything, corrupt clip or title, keyframes, you name it.
Error Compiling Movie... some past discussions and ideas
-and nested sequences http://forums.adobe.com/thread/955172
-and WMV files frame rate http://forums.adobe.com/message/4629210