Welcome Guest Search | Active Topics | Sign In | Register

Property 'I' can not be empty - EO PDF Rendering Error Options
Vikram
Posted: Thursday, July 18, 2019 2:04:38 AM
Rank: Member
Groups: Member

Joined: 3/6/2016
Posts: 19
Hi

I just upgraded to the latest version of EO PDF from Nuget and getting a new error when generating PDF's. The process picks up and existing PDF and fills in the field and saves a new version of it.

It has been working with the 2016 version of EO PDF. However today morning, I upgraded the EO PDF to the latest and greatest available in Nuget and started getting this error. As part of the upgrade, we remove the code to use classic engine since it is not supported. Here are some details


Message : "Property 'I' can not be empty." string

Stacktrace :
at EO.Internal.a5a.a[a](String A_0, Boolean A_1)
at EO.Pdf.PdfListField.b()
at EO.Pdf.PdfRadioButtonGroup.b()
at EO.Internal.gf.b()
at EO.Internal.hb.b()
at EO.Pdf.PdfDocument.b()
at EO.Pdf.PdfDocument.Save(String fileName)
at Fit2Work.Web.Helpers.ConsentFormGeneratorHelper.CreateAndSaveNewZealandConsentForm(Person person, String signatureData, ConsentForm existingNzConsentForm, Boolean isGoldCheck)
at Fit2Work.Web.Helpers.CheckHelper.GenerateConsentForms(Controller controller, Person person, List`1 checksToHaveConsentRegenarted, String signatureData)
at Fit2Work.Web.Controllers.PreEmploymentController.Review(String encPersonId, String applicantSignature)


I dug through the existing PDF and found no RadioButtonGroup or ListField named I. Is this error pointing to something else or is it related to browser rendering?
eo_support
Posted: Thursday, July 18, 2019 4:04:13 PM
Rank: Administration
Groups: Administration

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

We will need to look into the file in question in order to give you accurate answer. Can you use the contact us page to send a test file to us? Please also let us know which field you are trying to fill.

Thanks!
Vikram
Posted: Thursday, July 18, 2019 9:18:11 PM
Rank: Member
Groups: Member

Joined: 3/6/2016
Posts: 19
Hi

I have just submitted the form via your contact page, with the sample code.
eo_support
Posted: Friday, July 19, 2019 1:39:38 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have found the root of the problem. This will be resolved in our next build. We will reply again when the new build is available.

Thanks!
Vikram
Posted: Sunday, July 21, 2019 7:14:19 PM
Rank: Member
Groups: Member

Joined: 3/6/2016
Posts: 19
Hi

Thank you for the response. Appreciate the fix. Any idea what the problem is?
eo_support
Posted: Monday, July 22, 2019 8:37:54 AM
Rank: Administration
Groups: Administration

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

The issue is for list field there is an "I" property that the PDF specification indicates that it is required. This property is used to indicates the current selected item index. However this field does not exist in your file. Our early version does not read this property at all, thus it is unable to read or set the current selected item index property. Our latest version addressed this issue and does read this field so that you will be able to read or set the current selected item index, but it throws when the field does not exist since the specification says it is required. We have changed our code to ignore this problem since it is minor and it should not prevent the whole file from being loaded.

Thanks!
eo_support
Posted: Monday, July 22, 2019 4:57:34 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!
Vikram
Posted: Monday, July 22, 2019 7:23:45 PM
Rank: Member
Groups: Member

Joined: 3/6/2016
Posts: 19
Hi

Thank you for the fix, appreciate the quick response. I updated the library from Nuget and it seems to have fixed the issue. Can I work on the assumption that this is the same fix you applied on the download page ? The version I am looking at is 19.2.11.
eo_support
Posted: Tuesday, July 23, 2019 8:23:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Yes. They are the same version.
Vikram
Posted: Tuesday, July 23, 2019 7:16:20 PM
Rank: Member
Groups: Member

Joined: 3/6/2016
Posts: 19
Thank you, it resolved the issues.
eo_support
Posted: Tuesday, July 23, 2019 7:22:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Great. Thanks for confirming!


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.