logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
stan  
#1 Posted : Tuesday, September 1, 2020 8:32:59 AM(UTC)
stan

Rank: Member

Groups: Registered
Joined: 2/21/2019(UTC)
Posts: 15

error_pdfium.png (13kb) downloaded 0 time(s).


Stack Trace:
at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment_native(IntPtr document, IntPtr formInfo, IntPtr jsPlatform)
at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment(IntPtr document, IntPtr formInfo, IntPtr jsPlatform)
at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment(IntPtr document, FPDF_FORMFILLINFO formInfo, IPDF_JSPLATFORM jsPlatform)
at Patagames.Pdf.Net.PdfForms.Init(PdfDocument document)
at Patagames.Pdf.Net.PdfCustomLoader.Load()
at Patagames.Pdf.Net.PdfDocument.Load(Stream stream, PdfForms forms, String password, Boolean leaveOpen)


stan  
#2 Posted : Tuesday, September 1, 2020 9:07:01 AM(UTC)
stan

Rank: Member

Groups: Registered
Joined: 2/21/2019(UTC)
Posts: 15

This is happening in pdfViewer.LoadDocument
jtenganForte  
#3 Posted : Friday, January 15, 2021 7:22:41 PM(UTC)
jtenganForte

Rank: Newbie

Groups: Registered
Joined: 1/15/2021(UTC)
Posts: 1
United States
Location: CA

Has there been any resolution to this issue? I am also getting the same error after updating from v3.6.4 to v4.39.2704 using nuget package manager.

Here is the code:

Code:

        private void showPDF(byte[] content)
        {

            ReleasePDFStream();

            // this will be released on unload 
            this.pdfStream = new MemoryStream(content);

            pdfViewer1.LoadDocument(pdfStream);

            
        }

Edited by user Friday, January 15, 2021 7:30:29 PM(UTC)  | Reason: Formatted code

Paul Rayman  
#4 Posted : Friday, January 15, 2021 10:56:42 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 961

Thanks: 3 times
Was thanked: 115 time(s) in 112 post(s)
Clean and rebuild VS solution. I think some files are in inconsistent state (left over from the old version).
Check versions of all assemblies and native dlls in the project output folder. For version 4.39.2704 it should be such as indicated here:
https://forum.patagames....released-on-Dec-21--2020
Users browsing this topic
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.