After adding an ApplicationField in a Header/Footer or in a TextFrame a NullReferenceException is thrown in the method ForceCheckAll() of the AYT.
Here is a part of the stacktrace: bei Keyoti.RapidSpell.TX.TXTextControlAdapter.a(StringBuilder A_0, IEnumerator A_1, Boolean A_2, Boolean A_3) bei Keyoti.RapidSpell.TX.TXTextControlAdapter.get_Text() bei Keyoti.RapidSpell.TX.e.b(TextChangeHint A_0) bei Keyoti.RapidSpell.TX.e.a(Boolean A_0, TextChangeHint A_1) bei Keyoti.RapidSpell.TX.e.a(Boolean A_0) bei Keyoti.RapidSpell.TX.e.l() bei Keyoti.RapidSpell.TX.RapidSpellAsYouType.ForceCheckAll()
Here is the code snippet: ayt.IgnoreTextChanged = true; AddApplicationField(); ayt.IgnoreTextChanged = false; ayt.ForceCheckAll();