43
Views
1
Comments
[Ultimate PDF] Print PDF with  Thread was being aborted.
Question
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021
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)
mvp_badge
MVP
Rank: #5

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?