Pending Review
Last Updated: 19 Aug 2026 11:44 by Jack

Hello

Calling MailMerge on a document with a nested repeating group throws NullReferenceException when a merged value contains a line terminator.

All of the following are required to reproduce the crash:

  • The group («BeginGroup:Items» … «EndGroup:Items») is nested inside an outer group
  • The field whose value contains the newline sits in a later table cell than the group's begin marker
  • The value belongs to a non-last record

I have attached a minimal repro demonstrating the bug.