Good day
We are experiencing the following ArrayIndexOutOfBoundsException error on our EC2 instances, kindly see below the relevant error message. We are working with Aspose version 23.4. This error is not being experienced locally, but primarily on our EC2 instances. We are using java 8. Please see the attached for the code snippet and error message.
Codeblock.docx (14.3 KB)
ErrorMessage.docx (14.7 KB)
Any pdf file is currently causing this issue.
Your input on resolving the above error would be greatly appreciated. Thank you.
@Dale_Scholtz
The code snippet seems pretty basic and fine. The issue looks related to specific environment and need some investigation. Can you please try using the latest available version of the API and see if it resolves issue? Also, please make sure that all windows fonts are present in installed in the system.
Hello Asad
Thank you for your response, I updated to the latest version and still ran into the same issue. I checked the fonts and all were available in the EC2 instance.
@Dale_Scholtz
We have logged an investigation ticket as PDFJAVA-44476 in our issue tracking system for the sake of further analysis. We will try to investigate the reasons behind this issue in your environment and let you know as soon as we have some results. Please be patient and spare us some time.