Call to Document.save does not return- high CPU

I am running version 14.6.0 on Java 8. Intermittently I am seeing a problem where a call to:
doc.save(result.getAbsolutePath(), SaveFormat.PDF);
... results in the call not returning with high CPU. The same call with same document doesn't always seem to result in this issue. See below for the two threads calling into save().

Because of the obfuscation of the method names, it's not possible to guess at what kind of processing is occurring.

Has anyone else seen similar issues? Any guidance or additional information that I could provide?

Thanks.

UploadRequest-Worker-Upload-Queue::5441295fe4b0273857dd96cf@1413558258857 id=42 state=RUNNABLE
at com.aspose.words.zzZD$zzZ.zzZ(Unknown Source)
at com.aspose.words.zzZD.zzkF(Unknown Source)
at com.aspose.words.zzZD.zzZ(Unknown Source)
at com.aspose.words.zzZD.zzZQ(Unknown Source)
at com.aspose.words.zzDC.zzV(Unknown Source)
at com.aspose.words.zzDG.zzZWu(Unknown Source)
at com.aspose.words.zzZEI.zzZ(Unknown Source)
at com.aspose.words.zzZI6.zzZ(Unknown Source)
at com.aspose.words.zzZI5.zzZ(Unknown Source)
at com.aspose.words.zzZI5.zzZtD(Unknown Source)
at com.aspose.words.zzZI5.zzZ(Unknown Source)
at com.aspose.words.zzXO.zzhk(Unknown Source)
at com.aspose.words.zzXO.zzX(Unknown Source)
at com.aspose.words.zzZQP.zzJ(Unknown Source)
at com.aspose.words.zzZQP.zzS(Unknown Source)
at com.aspose.words.zzZQ7.zzy(Unknown Source)
at com.aspose.words.zzZGI.zzSD(Unknown Source)
at com.aspose.words.zzNZ.zzXV(Unknown Source)
at com.aspose.words.zzO0.zz9f(Unknown Source)
at com.aspose.words.zz3G.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.Document.zzXZ(Unknown Source)
at com.aspose.words.Document.zz9V(Unknown Source)
at com.aspose.words.Document.getPageCount(Unknown Source)
at com.aspose.words.zzDI.zzY(Unknown Source)
at com.aspose.words.zzDI.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

UploadRequest-Worker-Upload-Queue::5441295fe4b0273857dd96cf@1413557772851 id=43 state=RUNNABLE
at com.aspose.words.zz27.zzT(Unknown Source)
at com.aspose.words.zz2E.zzS(Unknown Source)
at com.aspose.words.zz2D.zzQ(Unknown Source)
at com.aspose.words.zz2D.zzX(Unknown Source)
at com.aspose.words.zzWS.zzZ(Unknown Source)
at com.aspose.words.zzZI5.zzZlc(Unknown Source)
at com.aspose.words.zzZI5.zzZ(Unknown Source)
at com.aspose.words.zzXO.zzhk(Unknown Source)
at com.aspose.words.zzXO.zzX(Unknown Source)
at com.aspose.words.zzZQP.zzJ(Unknown Source)
at com.aspose.words.zzZQP.zzS(Unknown Source)
at com.aspose.words.zzZQ7.zzy(Unknown Source)
at com.aspose.words.zzZGI.zzSD(Unknown Source)
at com.aspose.words.zzNZ.zzXV(Unknown Source)
at com.aspose.words.zzO0.zz9f(Unknown Source)
at com.aspose.words.zz3G.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.Document.zzXZ(Unknown Source)
at com.aspose.words.Document.zz9V(Unknown Source)
at com.aspose.words.Document.getPageCount(Unknown Source)
at com.aspose.words.zzDI.zzY(Unknown Source)
at com.aspose.words.zzDI.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

Hi Geoff,

Thanks for your inquiry. Could you please try upgrading to the latest version 14.9.0 and see how it goes on your end?
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

In case the problem still remains, please attach your input Word document you're getting this problem with here for testing. We will investigate the issue on our end and provide you more information.

Best regards,

Awais - thanks for your reply. We are upgrading to 14.9.0 and will report back if we see a recurrence of the issue under that version (along with a file to trigger the condition, if it’s repeatable).


Hi Geoff,


Sure, we will wait for your feedback. Please let us know if you have any troubles and we will be glad to look into this further for you.

Best regards,

We have upgraded to to 14.9.0 and continue to see the problem. See attached word document that will trigger the behavior. Also please find an update stack trace from when the problem was occurring. Any assistance with this is appreciated, as it’s having a large impact on our production deployment and conversion of customer documents.


Stack trace:
at com.aspose.words.zzXX.zzN(Unknown Source)
at com.aspose.words.zzXX.zzZ(Unknown Source)
at com.aspose.words.zzZ7.zzZ(Unknown Source)
at com.aspose.words.zzYYU.zzZ(Unknown Source)
at com.aspose.words.zzZN7.zzZ(Unknown Source)
at com.aspose.words.zzZN7.zzS(Unknown Source)
at com.aspose.words.zzZN6.zzQ(Unknown Source)
at com.aspose.words.zzZN6.zzX(Unknown Source)
at com.aspose.words.zzWO.zzZ(Unknown Source)
at com.aspose.words.zzZ2N.zzZhn(Unknown Source)
at com.aspose.words.zzZ2N.zzZ(Unknown Source)
at com.aspose.words.zzXK.zzuZ(Unknown Source)
at com.aspose.words.zzXK.zzX(Unknown Source)
at com.aspose.words.zzZBD.zzJ(Unknown Source)
at com.aspose.words.zzZBD.zzS(Unknown Source)
at com.aspose.words.zzZAV.zzy(Unknown Source)
at com.aspose.words.zzZ0W.zzSi(Unknown Source)
at com.aspose.words.zz9Z.zzXK(Unknown Source)
at com.aspose.words.zzA0.zz62(Unknown Source)
at com.aspose.words.zzZO8.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.Document.zzXO(Unknown Source)
at com.aspose.words.Document.zz6I(Unknown Source)
at com.aspose.words.Document.getPageCount(Unknown Source)
at com.aspose.words.zzZZB.zzY(Unknown Source)
at com.aspose.words.zzZZB.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

Hi Geoff,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 14.9.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 WORDSNET-10931. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Hi Awais - thanks for your quick response.

I see linked issue WORDSNET-10931 as ‘resolved’. Is there some way to find out when this fix will be packaged into a hotfix or release?
Geoff

Hi Geoff,


Thanks for your inquiry. Yes, the issue has now been resolved and it’s fix will be included in Aspose.Words 14.10.0 (next version). We will inform you via this thread as soon as this release is published.

Best regards,

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


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