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.

Fri Sep 22, 2023 10:49 am

Hi,
I am using spire.office for PDF management. In case of multi threading, an ArrayIndexOutOfBoundsException is thrown and all request fail.

I checked the other cases and found similar issue in this https://www.e-iceblue.com/forum/performance-and-multithreading-problem-t12202.html?hilit=ArrayIndexOutOfBoundsException&sid=4891b6f1664bc61a54c296b94e1583bd which was not resolved till now.

I need to find an immediate fix or workaround to be able to proceed as this is a production failure with major business impact.

mgalal123
 
Posts: 31
Joined: Thu Apr 21, 2022 12:48 pm

Mon Sep 25, 2023 6:16 am

Hi,

Thank you for your inquiry.
The exception in forum post (performance-and-multithreading-problem-t12202.html?hilit=ArrayIndexOutOfBoundsException ) you mentioned has been fixed in the latest version of Spire.Pdf for Java 9.9.2. Did you use the latest version of Spire. Pdf for java? if not, please use the latest version to test again. If your issue still exists in the latest version of Spire.Pdf for java, please offer the following information to help us do further investigation. Thank you in advance.
1)Your input test file, you can attach here or send it to us via email ([email protected]).
2)Your full test code that can reproduce your issue.
3)The Jdk version, such as Jdk 1.8
4)Your test environment, such as OS info (E.g. Windows 7, 64-bit).

Sincerely
Ula
E-iceblue support team
User avatar

Ula.wang
 
Posts: 282
Joined: Mon Aug 07, 2023 1:38 am

Mon Sep 25, 2023 4:37 pm

Hi,
Thanks for the updates. I am using spire.office, so which version should I use to get it fixed given that I used the latest available version 8.9.2 but it didn't fix the issue.

mgalal123
 
Posts: 31
Joined: Thu Apr 21, 2022 12:48 pm

Tue Sep 26, 2023 2:50 am

Hi

Thank you for your more inquiry.
I used Spire.Office for JAVA 8.9.2 and the latest version of Spire.Office for JAVA 8.9.7 tested the link(https://www.e-iceblue.com/forum/performance-and-multithreading-problem-t12202.html?hilit=ArrayIndexOutOfBoundsException) that you mentioned. Spire.Office for JAVA 8.9.2 does have some thread safety management issues, but these issues in the latest version of Spire.Office for JAVA 8.9.7 has been fixed. But I cannot confirm the latest version of Spire.Office for JAVA 8.9.7 can solve your problem? Please update to the latest version of Spire.Office for JAVA 8.9.7 and tested again.
If your issue still exists in the latest version of Spire.Office , please offer the following information to help us do further investigation. Thank you in advance.
1)Your input test file, you can attach here or send it to us via email ([email protected]).
2)Your full test code that can reproduce your issue.
3)The Jdk version, such as Jdk 1.8
4)Your test environment, such as OS info (E.g. Windows 7, 64-bit).

Sincerely
Ula
E-iceblue support team
User avatar

Ula.wang
 
Posts: 282
Joined: Mon Aug 07, 2023 1:38 am

Tue Nov 07, 2023 1:44 am

Hello,

Did you download the latest version of Spire.Office for JAVA to test your issue?Did it solve your problem? Please tell us your test result.
If you have any issue just feel free to contact us.

Best Regards,
Ula
E-iceblue support team
User avatar

Ula.wang
 
Posts: 282
Joined: Mon Aug 07, 2023 1:38 am

Return to Spire.PDF