We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

startIndex + length cannot exceed length of string. Parameter name: length

When I want to go massively to pdf/a it gives me the following error: class com.aspose.pdf.internal.ms.System.lv: startIndex + length cannot exceed length of string. Parameter name: length errorpdf.png (9.3 KB)
but I can’t share the pdf as its content is confidential

@emeza

We are afraid that we cannot comment on the issue without replicating it in our environment and investigating it. In order to determine the cause of this error, we do need to have a sample PDF so that the issue can be addressed if it exists. Also, have you tried the latest available version of the API? If so is the case and issue is still persisting, please share your sample file with us in a private message so that we can reproduce it and address it accordingly. image.png (16.4 KB)