logger.fine("");
if (progressOutputStream == null) {
throw new IllegalStateException("progressOutputStream = null");
}
BookState bookState = BookState.getMainInstance();
if (bookState == null) {
throw new IllegalStateException("bookState = null");
}
metadata = bookState.getMetadata();
logger.fine("metadata = null ? " + (metadata == null));
if (metadata == null) {
throw new IllegalStateException("metadata = null");
}
bookFiles = bookState.getBookFiles();
logger.fine("bookFiles = null ? " + (bookFiles == null));
if (bookFiles == null) {
throw new IllegalStateException("bookFiles = null");
}
kindlegenRunner = bookState.getKindlegenRunner();
logger.fine("kindlegen = null ? " + (kindlegenRunner == null));
if (kindlegenRunner == null) {
throw new IllegalStateException("kindlegenRunner = null");
}
if (kindlegenRunner.getKindlegen() == null) {