Hello,
I’m receiving the following error when using the “Rad PDF text” activity from UiPath.PDF.activites.
Read PDF Text: Unexpected PDF structure. This exception usually indicates that PDF document is malformed but also may indicate a bug in Docotic.Pdf library. Please send us the file for review.
This happens with all PDF files. It wasnt an issue until a few hours ago. Before that, with the same files, there were no issues.
The funny thing is, that it still reads the PDF file and outputs the text correctly - but why is it giving me an error?
Full error text here:
RemoteException wrapping BitMiracle.Docotic.Pdf.UnexpectedStructureException: Unexpected PDF structure. This exception usually indicates that PDF document is malformed but also may indicate a bug in Docotic.Pdf library. Please send us the file for review.
at .()
at .()
at .(IPdfStreamProvider , , Boolean )
at .(Stream , )
at BitMiracle.Docotic.Pdf.PdfDocument..()
at BitMiracle.Docotic.Pdf.PdfDocument.(Action )
at BitMiracle.Docotic.Pdf.PdfDocument.(String )
at BitMiracle.Docotic.Pdf.PdfDocument…ctor(String fileName)
at UiPath.PDF.PdfReader…ctor(String filePath, String password)
at UiPath.PDF.Activities.ReadPDFText.GetFileReader(String fileName, String password)
at UiPath.PDF.Activities.ReadTextBase.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)