[Ultimate PDF] Print PDF with Thread was being aborted.

Forge Component
(14)
Published on 23 May by Leonardo Fernandes
14 votes
Published on 23 May by Leonardo Fernandes
Hi,

When I print a document I have the following error:



Thread was being aborted.
   at System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
   at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.SpinThenBlockingWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.InternalWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OutSystems.NssUltimatePDF.CssUltimatePDF.RunAsync[T](Func`1 async)
   at OutSystems.NssUltimatePDF.CssUltimatePDF.MssPrintPDF(String ssURL, RCViewportRecord ssViewport, RCPaperRecord ssPaper, Int32 ssBrowserRevision, Boolean ssReuseSession, Byte[]& ssPDF)
   at ssUltimatePDF.RssExtensionUltimatePDF.MssPrintPDF(HeContext heContext, String inParamURL, IRecord inParamViewport, IRecord inParamPaper, Int32 inParamBrowserRevision, Boolean inParamReuseSession, Boolean inParamIsReactive, Byte[]& outParamPDF)

Hi Horacio. This looks like a timeout. Make sure the screen you want to print to PDF can render quickly.

Are you still having this issue?