Dear “managers”,
I am struggling with an issue when importing CAMT.053 bank statements, or more specifically, the monthly interest rate payment from my bank. All other transactions import without any issues.
I suspected the issue to be caused by a faulty swift setting of the bank or something, but this was not the case. I compared the XML files over time, and they are the same. So now i am starting to believe that it is caused by an update in manager (current version 26.3.31.3254).
When importing this transaction, managers gives me the internal error stated below. After some searching, it seems to be caused by an empty new transaction details (NtryDtls) section in the xml. Manager seems to expect information to be filled in here.
Would somebody be able to confirm this?
<NtryDtls>
<TxDtls/>
</NtryDtls>
Internal Error
Manager 26.3.31.3254
System.NullReferenceException: Object reference not set to an instance of an object.
at ManagerServer.HttpHandlers.Businesses.Business.BankAndCashAccounts.ImportBankStatement.Camt053.DocumentElement.BkToCstmrStmtElement.StmtElement.NtryElement.GetDescription() in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Businesses\Business\BankAndCashAccounts\ImportBankStatement.cs:line 1306
at ManagerServer.HttpHandlers.Businesses.Business.BankAndCashAccounts.ImportBankStatement.ParseBankStatementLines(String fileName, Byte[] buffer) in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Businesses\Business\BankAndCashAccounts\ImportBankStatement.cs:line 796
at ManagerServer.HttpHandlers.Businesses.Business.BankAndCashAccounts.ImportBankStatement.InnerGet2() in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Businesses\Business\BankAndCashAccounts\ImportBankStatement.cs:line 94
at ManagerServer.HttpHandlers.Businesses.Business.BusinessTemplate.InnerGet() in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Businesses\Business\BusinessTemplate.cs:line 512
at ManagerServer.HttpHandlers.Template.Get() in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Template.cs:line 401
at ManagerServer.HttpHandlers.Businesses.Business.BankAndCashAccounts.ImportBankStatement.InnerPost() in D:\a\Manager\Manager\ManagerServer\HttpHandlers\Businesses\Business\BankAndCashAccounts\ImportBankStatement.cs:line 280
at ManagerServer.HttpServer.<>c.<b__0_15>d.MoveNext() in D:\a\Manager\Manager\ManagerServer\HttpServer.cs:line 268
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
at ManagerServer.Authentication.UserResolutionMiddleware.InvokeAsync(HttpContext context) in D:\a\Manager\Manager\ManagerServer\Authentication\UserResolutionMiddleware.cs:line 41
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)