Docx-Pdf: Long running conversion issue: JAVA

Really appreciate @alexey.maslov your help in this.

One observation , when i try to convert my sample file (previously uploaded) at Convert Word, PDF And Many Other File Formats Using Java , it gets converted in less than 20 sec. but at our end it never gets converted due to timeout after 2 minutes.

What should we make out from this. Kindly advise.

@jaipm,

If the conversion of a document containing TIFF images hangs or throws an error on your side, check that the required dependency is installed.

You can try adding the following to the POM file:

<dependency>  
    <groupId>javax.media.jai</groupId>  
    <artifactId>com.springsource.javax.media.jai.core</artifactId>  
    <version>1.1.3</version>  
</dependency>  

We already have this dependency in our POM.
My question is that my file gets converted when i try it on products.aspose.com/words/java/conversion but it never converts at our end and doesnt seem to throw any error.

@jaipm ,

Thank you for bringing this to our attention. We will investigate this matter further.

@alexey.maslov , Here is another unique sample file. This file doesnt even convert at products.aspose.com/words/java/conversion

I also tried deleting all the images from this file but it still gets timeout(2 mins) at our end.

I expected that this would convert as I had deleted all the embedded images but doesnt.
Is there something else going on besides TIFF issue?
I also see extremely high CPU utilization during save method.

another ques. do missing fonts also cause slowness?
Kindly advise.

丙烯海松酸键合硅胶固定相的制备及其在混合模式色谱分离中的应用.docx (9.1 MB)

@jaipm It does not look like the problem is related to TIFF.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-28136

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

another ques. do missing fonts also cause slowness?

This should not have significant impact on the document conversion time.

@alexey.noskov I have JAVA application, shouldnt this ticket start with WORDSJAVA instead of WORDSNET?

i also tried with compute optimized EC2(c5a.4xlarge) but did not help. We have atleast 10 instances running.But previously attached docs still takes > 2 mins and gets time out.

We are stuck with this issue in our Prod env. and unable to find any workaround. Please advise what else should we try to mitigate this issue util you have a permanent fix as part of the tickets you have previously created.

@jaipm .NET version of Aspose.Words is the main version, so all fixes are first implemented in .NET version and then ported to Java.

The issue with TIFF image is specific for Java version so the issue has been created for java version only.

@alexey.noskov Could you please let me know the ETA of these tickets? We are badly impacted in our Prod env. due to this slowness of Aspose. We must expedite the fix.

Meanwhile would you recommend any mitigation?

@jaipm WORDSJAVA-3075 is already in development and is scheduled to be resolved in the next 25.4 version of Aspose.Words for Java.
WORDSNET-28136 has a duplicate issue in our defect tracking system, which is also already in development. The fix is scheduled to 25.5 version.
We will keep you updated and let you know once the issues are resolved.

I am afraid, currently I cannot suggest you any workarounds for the above mentioned issues.

@alexey.maslov do you know when is 25.4 is expected to be released?

@jaipm,

Version 25.4 has already been released, but unfortunately, issue WORDSJAVA-3075 required more in-depth analysis and has not been resolved. The fix for WORDSJAVA-3075 is planned for version 25.5, along with the resolution of WORDSNET-28136. Please accept our apologies for the inconvenience.

@alexey.maslov Thanks for the update. What’s the ETA for 25.5?

Do these cases get expedited if we have a paid support service?

@jaipm 25.5 version of Aspose.Words for Java will be published somewhere in the middle of May.

Once you get license for paid support, you can escalate the issue in paid support, this will push the issue upper in the queue.

Thanks, I was trying to find Version 25.4 but could only see 25.3 at Aspose.Total | Java Class Libraries to Process File Formats

@jaipm You can get 25.4 version of Aspose.Words for java from here:
https://releases.aspose.com/words/java/

Hello @alexey.maslov , what is the ETA for the version 25.5?
Are WORDSJAVA-3075 and WORDSNET-28136 still on track to be delivered as part of 25.5?

@jaipm WORDSJAVA-3075 is already resolved. The fix will be included into the next 25.5 version of Aspose.Words for Java.
WORDSNET-28136 is currently in analysis.

Thanks @alexey.maslov is WORDSJAVA-3075 for the TIFF issue?

@jaipm Yes, WORDSJAVA-3075 is for the TIFF issue.