This code used to work, and then just stopped one day. I’m not sure why, and I’m trying to fix it. This is in JavaAgent.NotesMain()
String sDocID = agentContext.getCurrentAgent().getParameterDocID();
Database db = agentContext.getCurrentDatabase();
Employee emp;
Document doc;
View vwUnprocessed;
if (agentContext.getDocumentContext() == null) {
vwUnprocessed = db.getView("vwUnprocessed");
…
At this point I’m getting an error message “Notes error: Entry already in index”.
I’m not really sure what this is telling me, or what I could be doing wrong. I’ve run fixup and updall -r in case something is corrupted in the view. I cleaned out any replication/save conflicts.
I’m not exactly a Java guru, but this seems straightforward enough. Anyone have any idea?