This error occurs when trying to load a view into a layout:
"Avarray index 687 not in range 0..686"
Corrupt shapefile in the view.
Note: If you have more than one shapefile, delete all but one. Add the view to a layout and see if the error occurs. Repeat and cycle though all the shapefiles until you find the offending one.