It's possible that there is an issue with a graphic. You should have seen a listing of processed pages prior to the error. The error occurs on the following page of the last page number listed. You can temporarily turn off the graphics in a file (or book) using the <esc> v v shortcut (it's a toggle, so the same sequence will also turn the graphics back on). If a PDF is created when the graphics are off, then this confirms that the problem occurs with a graphic. Try to locate the graphic in the file (as per the displayed pages in the Distiller log) and change its format.