NotesDocument srcDoc = incrawlView.getFirstDocument();
while (null != srcDoc) {
LOGGER.logp(Level.FINER, CLASS_NAME, METHOD,
"Connector starting - Resetting crawl document found " +
"in INCRAWL state " + srcDoc.getUniversalID());
srcDoc.replaceItemValue(NCCONST.NCITM_STATE, NCCONST.STATENEW);
NotesDocument prevDoc = srcDoc;
srcDoc = incrawlView.getNextDocument(prevDoc);
// Don't save this until we have the next doc in the view.
// Otherwise an exception will result