Signed email not working after upgradation of 9.24.40 version.

0
Hello,   I have upgraded mendix version to 9.24.40. I am using SecureEmail module and EmailTemplate Module for sending emails.   Now I have upgraded following modules to latest version: MxModelReflection CommunityCommons Deeplink Encryption SAML20  ExcelImporter XLSReport  Data Widgets After upgradation getting following error for email  com.mendix.webui.WebUIException: Exception while executing runtime operation 1:55:54 PMruntime-container/75ljsat com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$1(RuntimeOperationAction.scala:62) 1:55:54 PMruntime-container/75ljs2025-11-25T08:25:54.925498645Z 1:55:54 PMruntime-container/75ljsCaused by: com.mendix.modules.microflowengine.MicroflowException: null (of class com.mendix.basis.value.EmptyValue$) 1:55:54 PMruntime-container/75ljsat Email.IVK_SendEmail_Secured (LogMessage : 'Log message (info)')
asked
2 answers
0

Have you refreshed MxModelReflection after the upgrade? If not, go to the module and use "Click to refresh" to synchronize entities. This usually fixes issues like empty or undefined attributes when sending emails, because it updates the metadata that EmailTemplate and SecureEmail rely on.

answered
0

Hi Sidheswari Devkar,

 

Clean deployment folder

After upgrading modules:

1. Stop the app

2. Delete the directory:

deployment/

3. Run the application again — Mendix will rebuild everything.

---Reconfigure "EmailTemplate.IVK_SendEmail" encryption keys

Go to:

Studio Pro → Project → Settings → Custom Runtime Settings

Add or verify below constants:

EncryptionKey= XYZ... (your 32-char key)

If your key is missing after upgrade → sending email will throw runtime errors.

---

Check for conflicting JAR files

Go to:

project > userlib

Remove duplicate or outdated libraries like:

activation.jar

mail.jar

javax.mail*.jar

old SecureEmail jars

old Encryption module jars

Keep only the newest versions from Marketplace.

---

Rebuild Email Template Module

After update:

1. Open EmailTemplate > Configuration

2. Test SMTP configuration

3. Save

4. Send a test email

---

Why this error occurs

In your log you see:

MicroflowEngine.MicroflowException: Exception while executing runtime operation

This happens because:

The new Mendix 9.24 runtime rejects old encryption jars(So take backup and remove the old jars)

SecureEmail requires updated dependencies

Missing or broken encryption key configuration

---

After upgrading Mendix version, always upgrade these modules together to avoid email failures:

Encryption

Secure Email

Email Template

MxModelReflection

MendixCommons

NanoflowCommons

answered