Welcome Guest Search | Active Topics | Sign In | Register

'System.NullReferenceException' occurred in EO.Pdf.dll Options
jzhang
Posted: Tuesday, November 1, 2016 11:31:29 AM
Rank: Newbie
Groups: Member

Joined: 10/31/2016
Posts: 5
While using PdfDocument.Merge I would get "System.NullReferenceException" in the debug view or "Object reference not set to an instance of an object." in the release mode. This only happens with one of thousands of PDFs that we have generated. We are not even sure which PDF is creating this problem or how we can solve this issue. I have tried the latest version and one version down in NuGet to try to see if it's version related.
eo_support
Posted: Tuesday, November 1, 2016 12:24:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This is usually caused by PDF files that contains minor errors. Please try to find out which file triggers the problem and send us the file. Once we have the file we will analyze it and see if we can change our code to be more tolerate to such errors. See here for details on how to send files to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
eo_support
Posted: Saturday, November 5, 2016 6:10:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This is just to let you know that we have posted a new build that should fix this issue for you. You can download the new build from our download page.

Thanks!
jzhang
Posted: Monday, November 7, 2016 11:46:42 AM
Rank: Newbie
Groups: Member

Joined: 10/31/2016
Posts: 5
Will this be available to update on NuGet anytime soon?
eo_support
Posted: Monday, November 7, 2016 12:19:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

The nuget packages are there now.

Thanks!


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.