I have created a View Navigator using CreateViewNavFromCategory. Using this navigator I am trying to create document for each sub-category .Problem is the navigator sometimes gives the following error:
Error occurred in an agent ***** at line no. 70 and error is :Notes error: Entry not found in index (View Name)
Also the record for which the agent throws the error is not the same always. Sometimes it gives error while creating record for third entry ,other time it gives for fifth .
As a result I do not get all the documents.I ran the code multiple times with same data and once in a while all the documents were created.
It sounds like you are modifying the view contents during the browsing through the navigator. You best make a copy of the collection first and only operate on that collection.