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

Free Support Forum - aspose.com

Aspose Word VML shapes Issue

Hi,
We are facing an issue with latest aspose versions from 18.9 to 18.11.

Sample code base is :

String filePath="/tmp/R.doc";
com.aspose.words.Document doc = new com.aspose.words.Document(filePath);

Attaching file which I am using: https://drive.google.com/file/d/1tDH-ahnYqQKxBvswPJP3qo6IWCxr4tnk/view?usp=sharing

Java Version: jdk1.8.0_151

Error Message :

Exception in thread “main” java.lang.UnsupportedOperationException: Cannot create VML shapes of this type.
at com.aspose.words.ShapeBase.zzM1(Unknown Source)
at com.aspose.words.zz4Y.zzZ(Unknown Source)
at com.aspose.words.zz4Y.zzZ(Unknown Source)
at com.aspose.words.zz4Y.zzZ(Unknown Source)
at com.aspose.words.zz9J.zzNQ(Unknown Source)
at com.aspose.words.zzZ70.zzZ(Unknown Source)
at com.aspose.words.zzZ70.zzZ(Unknown Source)
at com.aspose.words.zzZ70.zzYn(Unknown Source)
at com.aspose.words.zzZ70.parse(Unknown Source)
at com.aspose.words.zz9J.read(Unknown Source)
at com.aspose.words.zz9R.read(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at WordConversion.main(WordConversion.java:36)

Thanks
Srikanth

2 Likes

I have also faced the same issue.Eagerly looking for the solution.

@srikanthnaukri123

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17784 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Interestingly this is working fine with Version 15.11.0. I have just verified same with this version.

@srikanthnaukri123

We have tested the scenario with Aspose.Words 15.11 and its working fine. We have updated the issue with concerns in our issue tracking system as WORDSNET-17784. You will be notified via this forum thread once this issue is resolved .

We apologize for your inconvenience.

Hi,

Its working till version 18.7 . I think after 18.8 this issue started.

@srikanthnaukri123

We are investigating this issue and we will update you via this forum thread once this issue is resolved.

Thank you for patience.

The issues you have found earlier (filed as WORDSNET-17784) have been fixed in this Aspose.Words for .NET 19.1 update and this Aspose.Words for Java 19.1 update.