Hi, When i try to configure email, i am able to run a test successfully, however when i try to save the configuration i get the the follow error. "com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Failed to commit at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') at EmailTemplate.IVK_SaveEmailSettingsFromTestMessage (SubMicroflow : 'IVK_SaveEmailSettings') Advanced stacktrace: at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to commit at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') at EmailTemplate.IVK_SaveEmailSettingsFromTestMessage (SubMicroflow : 'IVK_SaveEmailSettings') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146) Caused by: com.mendix.core.CoreRuntimeException: Failed to commit at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:155) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Key length should be 16 at Encryption.Encrypt (Error : '') at EmailTemplate.BCo_EmailSettings (SubMicroflow : 'Encrypt') at {"before":[{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"} at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') at EmailTemplate.IVK_SaveEmailSettingsFromTestMessage (SubMicroflow : 'IVK_SaveEmailSettings') Advanced stacktrace: at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Key length should be 16 at Encryption.Encrypt (Error : '') at EmailTemplate.BCo_EmailSettings (SubMicroflow : 'Encrypt') at {"before":[{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"} at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') at EmailTemplate.IVK_SaveEmailSettingsFromTestMessage (SubMicroflow : 'IVK_SaveEmailSettings')" Would anyone be able help get pass this error? Thanks Gio
asked
Giovani Favis
1 answers
4
Your actual error is the following:
Key length should be 16 at Encryption.Encrypt (Error : '')
You have a constant in your application called Encryption.EncryptionKey and the value MUST be a string of exactly 16 characters.