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

Free Support Forum - aspose.com

Aspose.Words for Java 15.6.0 Document load fails

We were trying to upgrade our app to use 15.6.0 Aspose.Words for Java version. In order to do that we performed compatibility check on all files, which are already in our system.
We found an issue which is a blocker for us, since we have plenty of files, which library can not process and fails on document load. And we really do hope that this issue will be fixed with some kind of interim version of library (nightly build or whatever you have there), so that we would not have to wait 1 month until it is fixed.
Following exception is thrown on document load:
Caused by: java.lang.IllegalStateException: XMLStreamException: Maximum attribute size limit (655360) exceeded
at asposewobfuscated.zz9A.zzZ(Unknown Source)
at asposewobfuscated.zz9A.read(Unknown Source)
at asposewobfuscated.zzO.zzY(Unknown Source)
at asposewobfuscated.zzO.zzR(Unknown Source)
at com.aspose.words.zzYWU.zzT(Unknown Source)
at com.aspose.words.zzZHV.zzL(Unknown Source)
at com.aspose.words.zzZHV.zzP(Unknown Source)
at com.aspose.words.zzZHV.zzS(Unknown Source)
at com.aspose.words.zzZHV.zzZ(Unknown Source)
at com.aspose.words.zzZHV.zzH(Unknown Source)
at com.aspose.words.zzZHV.zzS(Unknown Source)
at com.aspose.words.zzZHV.zzY(Unknown Source)
at com.aspose.words.zzZHV.zzY(Unknown Source)
at com.aspose.words.zz8O.zzP(Unknown Source)
at com.aspose.words.zz8G.zzM(Unknown Source)
at com.aspose.words.zz83.zzP(Unknown Source)
at com.aspose.words.zz95.zzR(Unknown Source)
at com.aspose.words.zz96.zzZZr(Unknown Source)
at com.aspose.words.zz96.zzZZs(Unknown Source)
at com.aspose.words.zz95.read(Unknown Source)
at com.aspose.words.zz8F.zzZZr(Unknown Source)
at com.aspose.words.zz8F.read(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
… 4 more
Caused by: javax.xml.stream.XMLStreamException: Maximum attribute size limit (655360) exceeded
at asposewobfuscated.zz4X.zzW(Unknown Source)
at asposewobfuscated.zz4X.zzY(Unknown Source)
at asposewobfuscated.zz57.zzZ(Unknown Source)
at asposewobfuscated.zz57.zzYl(Unknown Source)
at asposewobfuscated.zz57.zzYm(Unknown Source)
at asposewobfuscated.zz57.zzYXb(Unknown Source)
at asposewobfuscated.zz57.next(Unknown Source)
at asposewobfuscated.zz9A.read(Unknown Source)

It’s reproduced by snippet below from the attached file

License license = new License();
Document document = new Document(inputFile);

Hi Andrey,

Thanks for your inquiry.

While using the latest version of Aspose.Words for Java i.e. 15.6.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSJAVA-1109. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSJAVA-1109) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.