我在我的网站上使用Exm订阅表单。当我点击“提交”时,没有任何事情发生,我在日志中看到这个例外:
11:47:00 ERROR unhandled exception thrown while processing task '0x479FA17B72734C448A640E959089B01F' from task pool 'sent_message_task_pool'. The task has not reached the maximum number of Attempts to process a failing task and is postponed.
Exception: System.FormatException
Message: The input is not a valid base-64 string, since they in the voids containing a non-base 64 character, more than two spaces or a character that is not valid.
Source: mscorlib
at System.Convert.FromBase64_Decode (char * startInputPtr, Int32 inputLength, Byte * startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr (char * inputPtr, Int32 inputLength)
at System.Convert.FromBase64String (String s)
at Sitecore.Modules.EmailCampaign.Core.Crypto.AuthenticatedAesStringCipher.TryDecrypt (String encryptedmessage)
at Sitecore.EmailCampaign.Cm.Tasks.MessageEventBaseTaskProcessor.OnProcess (Short Running Task task, CancellationToken CancellationToken)
at Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.TaskProcessor.Process(ShortRunningTask task, CancellationToken CancellationToken)
at Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.DatabaseTaskAgent.ProcessTask(DatabaseTaskDtoCollectionItem taskDto, CancellationToken CancellationToken)
11:47:01 WARN One or more tasks processed by task agent 'sent_message_task_pool' failed. The agent wants to revert to the slowest processing speed possible.
当我将EXM版本从3.2升级到3.3时,这种情况就开始发生了。在3.2版本中一切正常
我找到了一条发生此异常的行:
string str3 = this._cipher.TryDecrypt(eventData.ContactId);
看起来缺少ContactId(等于“00000000-0000-0000-0000-000000000000”)
答案 0 :(得分:0)
您的Sitecore版本是什么?它是8.1 Update 3吗?如果没有,你还更新了Sitecore版本吗?由于EXM 3.3需要Sitecore 8.1 update 3