Throw IllegalStateException when no checkpoints.