Agent hangs while parsing a NotesViewEntryCollection with "Show multiple values as separate entries"

An agent hanging while parsing a NotesViewEntryCollection with "Show multiple values as separate entries" often stems from a known issue in HCL Domino 12.0.1FP1, where GetAllEntriesByKey iterates inconsistently or enters infinite loops. To resolve, ensure the view is not using "Allow multiple values" with "Show multiple values as separate entries" simultaneously, or upgrade to a patch version (e.g., 12.0.2) HCLSoftware.
Lotus Notes View • LotusScript

The Issue

The issue specifically affects NotesViewEntryCollection when a column in the view is configured to show multiple values as separate entries while the field itself allows multiple values.

Symptoms

Agents might hang, skip documents, or process the same document multiple times, causing infinite loops.

Work Arounds

View Modification: Disable "Show multiple values as separate entries" in the view design if not absolutely necessary.
Code Change: Iterate through the view directly using GetFirstEntry and GetNextEntry instead of relying solely on GetAllEntriesByKey.
Patching:Upgrade your HCL Domino server to a version where this defect is resolved (typically 12.0.2 or later).
Other Potential Causes: Ensure the code is not accessing a uidoc that has not been saved to the backend yet, which can cause hanging or empty document errors.

Written by fbrefere001

Posted by fbrefere001 on Wednesday March 11, 2026