Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Feb 17, 2016 1:49 pm

Spire.pdf version 3.6.135 has a major issue in our system. 1 out of 15 documents fail to open correctly, Spire.pdf crashes.

Enclosed are 2 log files for a set of pdf files, on log file is of version 3.6.20, the other is 3.6.135.

Biggest problem:
in version 3.6.20:
Code: Select all
File C:\TestProd\c77e90a0-0f5b-4e5a-8cc7-6b42a7e1fe49.pdf processed OK
File C:\TestProd\ff1ba28e-8532-4a3e-be4f-50c5fd8c891a.pdf processed OK


in version 3.6.135 (same files):
Code: Select all
File C:\TestProd\c77e90a0-0f5b-4e5a-8cc7-6b42a7e1fe49.pdf failed: System.ArgumentOutOfRangeException - Index and length must refer to a location within the string.
Parameter name: length
File C:\TestProd\ff1ba28e-8532-4a3e-be4f-50c5fd8c891a.pdf failed: System.ArgumentOutOfRangeException - Index and length must refer to a location within the string.
Parameter name: length

This error happens very frequently in 3.6.135, one out of 15 files generate this error! Please fix a.s.a.p.!

Both versions have some other errors, see attached log files.

Due to privacy issues, the pdf files are sent to your e-mail address ([email protected])

Code used for testing is included as attachment.

[email protected]
 
Posts: 33
Joined: Fri Jun 27, 2014 1:39 pm

Thu Feb 18, 2016 6:36 am

Hi,

Thanks for your inquiry.
We have received the email. And I have noticed your issue and posted it to our Dev team. Once there is any progress, we will let you know. Sorry for inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Fri Feb 26, 2016 3:29 pm

Status update, what is the progress of this ticket?

JonathanWood
 
Posts: 26
Joined: Fri Feb 26, 2016 2:19 am

Mon Feb 29, 2016 1:21 am

Hi,

I got information from our Dev team, this issue has been resolved, it is waiting for testing. Once it passes the testing, we will provide you a hotfix ASAP.

Sincerely,
Betsy
E-iecblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Tue Mar 01, 2016 2:31 am

Hi,

Thanks for your waiting.
Your issue has been resolved, welcome to test this hotfix.
http://www.e-iceblue.com/downloads/Temp ... .6.167.zip
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Wed Mar 02, 2016 8:04 am

First (short) test looks good. When can I expect a NuGet update?

[email protected]
 
Posts: 33
Joined: Fri Jun 27, 2014 1:39 pm

Thu Mar 03, 2016 1:14 am

Hi,

We have updated the Spire.PDF V3.6.167 on NuGet, please check it.
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Tue Mar 08, 2016 2:31 pm

Last weekend, I had the time to test the new version more in depth. Unfortunately, the error still occurs on some documents:
Code: Select all
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at spr .ᜀ(spr᪠ A_0)
   at Spire.Pdf.PdfDocumentInformation.get_ModificationDate()
   at Spire.Pdf.Xmp.XmpMetadata.ᜀ(PdfDocumentInformation A_0)
   at Spire.Pdf.Xmp.XmpMetadata.ᜁ(PdfDocumentInformation A_0)
   at Spire.Pdf.PdfDocumentInformation.ᜁ()
   at sprᣴ.ᜍ()


I e-mailed a zip file with pdf files and errors to your support e-mail. Could you pick this issue up with priority?

Kind regards,

Sikke Kooistra

[email protected]
 
Posts: 33
Joined: Fri Jun 27, 2014 1:39 pm

Wed Mar 09, 2016 3:08 am

Hi,

Thanks for your feedback.
I have received the PDF files and noticed your issue. I have forwarded it to our Dev team. Once there is any progress, we will let you know. Sorry for inconvenience caused by us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Tue Mar 22, 2016 9:51 am

Hi,

Any progress on these issues?

Regards,

Sikke

[email protected]
 
Posts: 33
Joined: Fri Jun 27, 2014 1:39 pm

Wed Mar 23, 2016 2:00 am

Dear Sikke,

Thanks for your waiting.
Now the issues have been resolved, welcome to test this hotfix.
http://www.e-iceblue.com/downloads/Temp ... .6.242.zip
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Thu Mar 24, 2016 6:14 pm

When will this hot fix be applied to the actual build for GA?
We already own the pro license but would like a solid build and not a test build.
Thanks

JonathanWood
 
Posts: 26
Joined: Fri Feb 26, 2016 2:19 am

Fri Mar 25, 2016 9:00 am

Dear JonathanWood,

Thanks for your inquiry.
Here is a link you can download a new version: http://www.e-iceblue.com/downloads/hot_ ... .6.260.zip.
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Mon Mar 28, 2016 8:15 am

Dear Sikke,

Did you test the hotfix ?
Has your issue been resolved ?

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Fri Apr 01, 2016 2:03 pm

Dear Betsy,

I have done a very exstensive test on the lates version (3.6.260) . I testen 23000 pdf's from a big variety of sources and am happy to report that most files pass my test. However, I found 2 problems
a. Some pdf files give a Spire.Pdf.Exceptions.PdfDocumentException - Invalid contents array:
Code: Select all
Spire.Pdf.Exceptions.PdfDocumentException: Invalid contents array.
   at Spire.Pdf.PdfPageLayerCollection.?(PdfPageWidget A_0)
   at Spire.Pdf.PdfPageLayerCollection..ctor(PdfPageBase page)
   at Spire.Pdf.PdfPageBase.get_PageLayers()
   at Spire.Pdf.PdfPageBase.?()
   at Spire.Pdf.Widget.PdfPageCollection.?(PdfDocumentBase A_0, PdfPageBase A_1, List`1 A_2)
   at Spire.Pdf.PdfNewDocument.ClonePage(PdfDocumentBase ldDoc, PdfPageBase page, List`1 destinations)
   at Spire.Pdf.PdfDocumentBase.ImportPageRange(PdfDocumentBase ldDoc, Int32 startIndex, Int32 endIndex)
   at Spire.Pdf.PdfDocument.InsertPageRange(PdfDocument doc, Int32 startIndex, Int32 endIndex)

b. Some pdf files cause Spire.pdf to go into an infinite loop when saving a page to an image.

I sent a file with 2 expamples of error a (1.pdf and 2.pdf) and 1 example of error b to your support e-mail box. Testing was done with the same code as above. Can you provide a hotfix for these 2 issues?

[email protected]
 
Posts: 33
Joined: Fri Jun 27, 2014 1:39 pm

Return to Spire.PDF