During my close-to-disaster experience yesterday (early morning today to be honest) I encountered a problem. The ingredients are the following (if you want to reproduce it):
- XPage with a repeat control, data source is a view holding documents of a type X
- button to call a bean method to remove all the documents of that view (via ExtlibUtil.getCurrentDatabase().getView("foo").getAllEntries().removeAll(false) )
- Full update set in event that calls the bean method
Reason: the just deleted collection of documents that are used for the repeat control to be refreshed cause this error - crap!
That works fine without any server errors