1
MailService crashes repeatedly
Problem reported by Andreas Meli - Today at 3:41 PM
Submitted
Since the last three versions of SmarterMail - 9028 and earlier, the MailService crashes repeatedly and restarts itself. Do you also have this problem, or am I the only one experiencing it? I’ll attach the error message below. 

I would appreciate any tips, as working like this is quite difficult for the users. I will also create a ticket for this issue.

best regrards and thanks to all

am
-----------------------------
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: 0e47731e2aaa9ff8
TraceId: 0c1464875bfa99b03bc5e4d249fa488b
ParentId: 0000000000000000
ConnectionId: 0HN6PNG82G5LO
RequestId: 0HN6PNG82G5LO:00000002
RequestPath: /Microsoft-Server-ActiveSync

An unhandled exception has occurred while executing the request.

Exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at SmarterMail.Protocols.EAS.EasHelperFunctions.Authenticate(HttpContext context)
   at SmarterMail.Protocols.EAS.EasMiddleware.Invoke(HttpContext context)
   at SmarterMail.Web.Middleware.EnsureRunningMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware.Invoke(HttpContext httpContext)
   at SmarterMail.Web.Middleware.DoubleSlashMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
------------------------------------------------
Name der fehlerhaften Anwendung: MsiExec.exe, Version: 5.0.17763.4644, Zeitstempel: 0x99e80c17
Name des fehlerhaften Moduls: MSI6C50.tmp, Version: 21.7.1.0, Zeitstempel: 0x66312951
Ausnahmecode: 0xc0000409
Fehleroffset: 0x0004db6f
ID des fehlerhaften Prozesses: 0x2770
Startzeit der fehlerhaften Anwendung: 0x01db0ba452751f09
Pfad der fehlerhaften Anwendung: C:\Windows\syswow64\MsiExec.exe
Pfad des fehlerhaften Moduls: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI6C50.tmp
Berichtskennung: bff4216e-d5a3-4c61-82fe-28eccc588bf5
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 
-----------------------------------------------
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: 04c788af0d314a81
TraceId: bf9359d4e34a2c23b100baae5545362c
ParentId: 0000000000000000
ConnectionId: 0HN6PANDUJ47T
RequestId: 0HN6PANDUJ47T:00000002
RequestPath: /Microsoft-Server-ActiveSync

An unhandled exception has occurred while executing the request.

Exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at SmarterMail.Protocols.EAS.EasHelperFunctions.Authenticate(HttpContext context)
   at SmarterMail.Protocols.EAS.EasMiddleware.Invoke(HttpContext context)
   at SmarterMail.Web.Middleware.EnsureRunningMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware.Invoke(HttpContext httpContext)
   at SmarterMail.Web.Middleware.DoubleSlashMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
--------------------------------------------------------
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: 488480277a496dde
TraceId: 5d73bbb80bc77e0b10c6f69a74c0b223
ParentId: 0000000000000000
ConnectionId: 0HN6PANDUJ00A
RequestId: 0HN6PANDUJ00A:00000002
RequestPath: /Microsoft-Server-ActiveSync

An unhandled exception has occurred while executing the request.

Exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at SmarterMail.Protocols.EAS.EasHelperFunctions.Authenticate(HttpContext context)
   at SmarterMail.Protocols.EAS.EasMiddleware.Invoke(HttpContext context)
   at SmarterMail.Web.Middleware.EnsureRunningMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware.Invoke(HttpContext httpContext)
   at SmarterMail.Web.Middleware.DoubleSlashMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)


Reply to Thread