Rank: Member
Groups: Registered
Joined: 5/9/2019(UTC) Posts: 25  Location: Sydney Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hello, We've just updated to 4.0.0.2704 and our app is now crashing with an AccessViolationException when trying to load a PDF. The offending code is Code:_internalDocument = PdfDocument.Load(filePath, new PdfForms());
and the stack trace is Quote:Exception Info: System.AccessViolationException at Patagames.Pdf.Pdfium.FPDFInterForm_GetFormNotify_native() at Patagames.Pdf.Pdfium.FPDFInterForm_SetFormNotify(IntPtr, Patagames.Pdf.FPDF_FORMFILLNOTIFY)
Exception Info: Patagames.Pdf.Net.Exceptions.FatalErrorException at Patagames.Pdf.Pdfium.FPDFInterForm_SetFormNotify(IntPtr, Patagames.Pdf.FPDF_FORMFILLNOTIFY) at Patagames.Pdf.Net.PdfForms.Init(Patagames.Pdf.Net.PdfDocument) at Patagames.Pdf.Net.PdfCustomLoader.Load() at Patagames.Pdf.Net.PdfDocument.Load(System.IO.Stream, Patagames.Pdf.Net.PdfForms, System.String, Boolean) at Patagames.Pdf.Net.PdfDocument.Load(System.String, Patagames.Pdf.Net.PdfForms, System.String) at Automation.Delivery.WPF.PDF.Services.Imp.PdfDocumentConnector.LoadPdfFile(System.String) ...
Any help would be greatly appreciated. Regards, Richard
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Hi,
Could you please provide a sample console app where this issue is reproduced and a PDF that is being loaded?
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Please try to update to the latest version. It should be: Product version: 4.6.2704 Assembly versions: 4.1.3.2704 - Pdfium.dll 4.2.3.xx - Patagames.Pdf.dll 4.2.1.xx - Patagames.Pdf.Wpf.dll 4.2.1.xx - Patagames.Pdf.WinForms.dll
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/9/2019(UTC) Posts: 25  Location: Sydney Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hey Paul,
Thanks for getting back to me. Turns out there was one pdfium.dll update I missed. Working fine now.
Sorry for the bother!
Richard
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close