There may be a problem with the clip. What type is it?
If you remove that clip does the project export normally?
There may also be a problem with the preference files.
If FCP X or iMovie start behaving unexpectedly in any way for no apparent reason, the problem could be caused by corrupt preference files.
The cure for this is to delete the preferences.
Hold down the Cmd and Option keys as you launch FCP X or iMovie and a window will appear asking if you wish to delete the preferences.
Click “Delete Preferences” and FCP X or iMovie will open in the default (as-new) mode with no projects etc. on the interface.
You will have to navigate to any project you were working on and reopen it.
Deleting preferences is completely safe and because of its simplicity it should be the first thing you do when troubleshooting.