In this case, you may be able to work around the issue by running Fixup, Compact and Updall as follows:
- fixup -f (This causes Fixup to check all documents in the database.)
- compact -i -c -d -K (ignore errors, copy-style, delete view indexes, set large UNK table)
- updall -R
If this fails, then you must restore the file from backup.