15 June, 2012 11:40:57 Miguel Calvo XPages | Comentarios (3)
Some time ago I wrote an article regarding new methods in Domino 8.5.2 release: NotesAgent.runWithDocumentContext(doc) behaviour .
At those days I found a cryptic error:
Exception occurred calling method NotesAgent.runWithDocumentContext(lotus.domino.local.Document) null
when trying to execute, from SSJS code, Notes Agents that had the option "Run as web user" unchecked.
In Domino 8.5.3 you still get the error if the option is unchecked, but you get and extra error message I don't remember having seen in that release.
HTTP JVM: CLFAD0134E: Exception processing XPage request
Googling, you can find that these error can be caused by other reasons, but the one described above could be one of them.
got same problem today. its painful with that. i'm now blocked a bit.
I need to update document and was going to do this by running agent, however person who run this agent has only Reader access and now I'm blocked.
Did u find another way to solve this problem?
Hi,
The problem described in the article is about mimicking the WebQuerySave event in classical Domino development.
Regarding your problem, you can execute the agent with the permissions of the signer of the agent and not the web user. Have you tried that option ?
Yo lo ejecuto de otra manera , en la que le paso en una propiedad el id del doc