000016997 - Notifications are not being sent to users. Error: Unable to convert the subject to text  for notification 'NOTIFICATION_NAME'

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000016997
Applies ToRSA Archer
IssueNotifications are not being sent to users.
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
<TraceIdentifier>ArcherTech.JobFramework</TraceIdentifier>
<Description>Unable to convert the subject to text, for notification 'NOTIFICATION NAME'</Description>
<AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
<Exception>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Unable to convert the subject to text, for notification 'NOTIFICATION NAME'</Message>
<Source>ArcherTech.Notifications</Source>
<StackTrace> at ArcherTech.Notifications.xslt.NotificationXslExtensions.ConvertSubjectToText(Notification notification)
at ArcherTech.Notifications.Workflow.SendNotification.BucketsHelper.CreateEmailMessageWithoutRecipients(Notification notification, NotificationXslExtensions xslExtensions, Int32 fromAddressUserId)
at ArcherTech.Notifications.Workflow.SendNotification.BucketsHelper.BuildBucketsForRecipientsByRenderSettingsGroup(KeyValuePair`2 recipientsByRenderSettingsGroup, Int32 fromAddressUserId, NotificationXslExtensions xslExtensions, Notification notification)
at ArcherTech.Notifications.Workflow.SendNotification.BucketsHelper.BuildBucketsForRecipientsByRenderSettingsGroups(IEnumerable`1 recipientsByRenderSettingsGroups, Int32 fromAddressUserId, NotificationXslExtensions xslExtensions, Notification notification)
at ArcherTech.Notifications.Workflow.SendNotification.BucketsHelper.BuildSingleContentBuckets(IDictionary`2 recipientsByMultipleContentRenderSettingsGroups, Int32 fromAddressUserId, NotificationXslExtensions xslExtensions, Notification notification)
at ArcherTech.Notifications.Workflow.SendNotification.SendNotificationJobHandler.ProcessJob()
at ArcherTech.Notifications.Workflow.SendNotification.SendNotificationJob.RunWorkflow_ExecuteCode(Object sender, EventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
<InnerException>
<ExceptionType>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Value cannot be null. Parameter name: source</Message>
<Source>System.Core</Source>
<StackTrace> at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at ArcherTech.Notifications.ContentRender.GetFieldRaw(Int32 fieldId)
at ArcherTech.Notifications.Rendering.RenderEngine.GetFieldRaw(Int32 contentId, Int32 fieldId)
at ArcherTech.Notifications.Providers.Value.ArcherContentNotificationValueProvider.GetPlainTextReplacement(String objectId, ValuePlaceholder valuePlaceholder)
at ArcherTech.Notifications.xslt.NotificationXslExtensions.&lt;&gt;c__DisplayClass12.&lt;ConvertSubject&gt;b__11(Match match)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at ArcherTech.Notifications.xslt.NotificationXslExtensions.ConvertSubject(Subject subject, String objectId)
at ArcherTech.Notifications.xslt.NotificationXslExtensions.ConvertSubjectToText(Notification notification)</StackTrace>
</InnerException>
</Exception>
</TraceRecord>
</DataItem>
</TraceData>
</ApplicationData>
CauseOne of the users assigned to the notification's Recipients does not have access to an application for a field used in the Subject line.  This causes the notification to not be sent to any users.
ResolutionModify the user's Access Role so that it has at least Read permissions to the application fields used in the notification.
Legacy Article IDa63961

Attachments

    Outcomes