You are here: Home / FAQ / Microsoft Outlook / Error: Unable to compute hash, because recipients or sender is null

Error: Unable to compute hash, because recipients or sender is null

Description

The error is logged as a warning:

Warning has been logged: Unable to compute hash, because recipients or sender is null
   at eWay.Core.Logger.InternalLogger.LogEntry(String message, Exception ex, LogEntryType entryType) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayShared\Logger.cs:line 163
   at eWay.Core.Logger.InternalLogger.LogEntry(String message, LogEntryType entryType) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayShared\Logger.cs:line 142
   at eWay.Core.Logger.InternalLogger.LogWarning(String message) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayShared\Logger.cs:line 205
   at eWay.Core.Logger.LogWarning(String message) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayShared\Logger.cs:line 69
   at eWay.Core.OutlookAccess.MailItem.ComputeHash(String subject, String sender, String recipients, DateTime sentOn) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\OutlookAccessLibrary\MailItem.cs:line 856
   at eWay.Core.OutlookAccess.MailItem.get_Hash() in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\OutlookAccessLibrary\MailItem.cs:line 833
   at eWay.Core.OutlookAccess.MailItem.CanImport(PermissionsManager permissionsManager) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\OutlookAccessLibrary\MailItem.cs:line 799
   at eWay.Core.Office.Addins.OutlookAddin.Connect.<EnableDisableSaveButton>b__44(ItemBase x) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayAddin\Addins\OutlookAddin\Connect.Ribbons.cs:line 1077
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at eWay.Core.OutlookAccess.Selection.Any(Func`2 predicate) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\OutlookAccessLibrary\Selection.cs:line 56
   at eWay.Core.Office.Addins.OutlookAddin.Connect.EnableDisableSaveButton(IRibbonControl control) in c:\CC.NET\Projects\NAnt\Sources\eWayLibrary\eWayAddin\Addins\OutlookAddin\Connect.Ribbons.cs:line 1077
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Icons for saving the email are grey (see picture below) and you cannot save the message to eWay-CRM.

Version

All versions of eWay-CRM

Difficulty

Low

Resolution

If you are experiencing this error, you need to check, whether these two conditions didn't come up:

  • The email address of the recipient is not filled.
  • The recipient is in your contacts in MS Outlook, but he or she has no email address filled.

If you fix any of these conditions, the error will be resolved.

Navigation