Weird AMgr warnings when using the HCL Domino C Api


Domino/Notes Version: 14 (and 12)
Operating System: Windows x86
Client (Notes, Nomad Web, Nomad Mobile, Android/iOS, browser version): N/A


Hello everyone,

I’m working on a custom scheduling solution using the HCL Domino C API, because I want to provide a document context. At the moment I’m doing the following:

  • Create a temporary Note with the Query_String field set
  • Create a temporary LotusScript agent that will call my Java agent (calling the Java agent directly doesn’t work)
  • Delete both notes

All handles are properly released, and the code does work. The weird thing is that after running (around every 5 minutes) AGmr will throw this error:
[1684:0002-16D0] 18-11-2025 09:59:10 AMgr: Error opening document in ‘<file>.nsf’, Note ID ‘<id>’, after receiving agent document update message: Document has been deleted

I don’t understand why it happens and how to get rid of it. I’m looking for an actual solution, not a workaround to hide the message.

Thanks in regards,

Nathan

Hi Nathan,

I’ve looked up that error in the source code and it is happing happening when agent manager is looking for the temporary LS agent to schedule in that DB and can’t find it. The question is why the agent manager didn’t get the deletion notification and is still trying to schedule the agent.

Can i get you top open a case with support so we can dig into this deeper?

Paul Albright
Technical Team Lead - Application Development Team
Notes/Domino/HEI/DLEAP/LEAP/DRAPI
Customer Support

Hi Paul,

Thanks for the reply. Glad to know it isn’t my fault. Is there any way I can contribute to this source code or is it closed source?

The project I was working on has since been abandoned, so I don’t think it’s worth the effort to open a support ticket sadly.

Greetings,

Nathan