Looks to me like it happens here in TokenReplacer.java, it retrieves several objects like this:
IMendixObject member== = Core.retrieveId(context, (IMendixIdentifier) token.getValue(context, Token.MemberNames.Token_MxObjectMember.toString()));
Are all of the target members in all of the tokens filled?
And did you already try running model reflection again?
Hi Ronald,
I know it a little late in the day. But I faced the same issue with my project. Stumbled upon this question for answers but didn't find any. I found out the solution.
Go to your EmailTemplates and at the end you will find Token List. Open each one of the Tokens and check if an attribute is selected. This error occurs when one or more Tokens have not selected attributes. Hope this helps.
May be someone else will find this useful.
Thanks,
Sharad R K