Error extracting record - Exception has been thrown by the target of an invocation

Hello all,

We have an instance of 94.341 ServiceAPI that is throwing the subject error when extracting documents from Records. Please find the log entry below.

I understand the exception occurs when the target of a call used via reflection throws an exception but the InnerException is not being displayed in the log file so it's complete guesswork for me as to what ServiceStack is trying to do when it occurs.

Google was unhelpful when I tried to get it to give me information about ServiceStack throwing the error.

The machine started displaying this error when 94.345 (my esteemed colleague believes) was installed.

This machine has not displayed this behaviour in the past and no one is aware of any additional changes occurring on the machine.

Any and all help appreciated.

(Hopefully this time my post won't be instantly marked as spam and hidden)

2019-12-13 08:39:29,551 [16] ERROR HP.HPTRIM.Service.TrimAppHost - Error extracting record 'D19/1'. Exception has been thrown by the target of an invocation.
HP.HPTRIM.SDK.TrimException: Error extracting record 'D19/1'. Exception has been thrown by the target of an invocation.
at HP.HPTRIM.SDK.ExtractDocument.DoExtract(String toWindowsFolder, Boolean overwriteOk, Boolean checkoutDocument, String rootURLForHyperlinks)
at HP.HPTRIM.Service.TrimDocumentStream.extractDocument()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at HP.HPTRIM.Service.TrimDocumentStream.<ExtractDocumentAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at HP.HPTRIM.Service.TrimDocumentStream.<WriteToAsync2>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at HP.HPTRIM.Service.TrimDocumentStream.<WriteToAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ServiceStack.HttpResponseExtensionsInternal.<WriteToOutputStreamAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ServiceStack.HttpResponseExtensionsInternal.<WriteToResponse>d__7.MoveNext()

Tags: