Error Log
RemoteException wrapping UiPath.DocumentUnderstanding.Digitizer.Exceptions.PdfOptimizationFailedException: Error trying to create optimized pdf —> RemoteException wrapping UiPath.DocumentUnderstanding.Digitizer.Exceptions.PdfOptimizationFailedException: Error trying to create optimized pdf —> RemoteException wrapping System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at .( , Image )
at BitMiracle.Docotic.Pdf.PdfDocumentGdiExtensions.AddImage(PdfDocument doc, Image image)
at UiPath.DocumentUnderstanding.Digitizer.Utils.PdfImageUtils.DrawImageInPdf(PdfDocument pdf, PdfPage page, Image image, Single scale)
at UiPath.DocumentUnderstanding.Digitizer.Optimization.Processors.TiffImageProcessor.CreatePdfFromImages(PdfDocument pdf, List1 images) at UiPath.DocumentUnderstanding.Digitizer.Optimization.Processors.TiffImageProcessor.TryCreateOptimizedPdf(Stream input, Stream output, String contentType, WrappedStreamConfiguration streamConfiguration) at UiPath.DocumentUnderstanding.Digitizer.Optimization.DefaultOptimizedPdfBuilder.GenerateOptimizedPdf(Stream input, Stream output, String contentType) --- End of inner exception stack trace --- at UiPath.DocumentUnderstanding.Digitizer.Optimization.DefaultOptimizedPdfBuilder.GenerateOptimizedPdf(Stream input, Stream output, String contentType) at UiPath.SmartData.PDF.Optimization.DefaultOptimizedPdfBuilder.<CreateOptimizedPdf>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.PDF.Optimization.DefaultOptimizedPdfBuilder.<GenerateOptimizedPdf>d__3.MoveNext() --- End of inner exception stack trace --- at UiPath.SmartData.PDF.Optimization.DefaultOptimizedPdfBuilder.<GenerateOptimizedPdf>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.ClassificationStation.Host.Local.ClassificationStationPresenter.<GenerateOptimizedPdf>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.ClassificationStation.Host.Local.ClassificationStationPresenter.<CreateServiceAndPrepareContent>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.ClassificationStation.Host.Local.ClassificationStationPresenter.<Show>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.OutOfProcessUi.Common.Server.OutOfProcessUiService.<>c__DisplayClass3_0
2.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.SmartData.OutOfProcessUi.Common.Server.OutOfProcessUiService.d__32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.SmartData.OutOfProcessUi.Common.Server.OutOfProcessUiService.<OpenClassificationStation>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<InvokeMethod>d__22.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<HandleRequest>d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Server.<>c__DisplayClass4_2.<<-ctor>b__6>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WithResult>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WithTimeout>d__18
1.MoveNext()
Hi ,I am trying to classify document using Machine learning classifier ,but when I run the file I am getting following errors ,and also Validated Classification Results is showing null ,I have attached a screenshot. Kindly help me with the same