Free Support Forum - aspose.com

ArrayIndexOutOfBoundException Aspose Diagram covert VSD to SVG

Hi,

Aspose Diagram API - JAVA

While convert from VSD to SVG usig below code getting ArrayIndexOutOfBoundsException for some VSD files.

diagram.save(filepath,SaveFileFormat.SVG)

using the latest version of jar 20.7 classifier jdk16

@aravindvsd

Would you kindly share your sample Diagram file with us so that we can test the scenario in our environment and address it accordingly.

Not sure what the status of this issue is, but I am experiencing the same exception when saving a visio as SVG . Please find attached a sample VSD (containing only one bitmap shape, which seems to be the suspect, because if I remove it, I do not get the error anymore).
ArrayIndexOutOfBoundException_when_exporting_to_SVG.zip (23.9 KB)

@paehler

We have logged an issue as DIAGRAMJAVA-50706 in our issue tracking system after replicating it with Aspose.Diagram for Java 20.11 at our side. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

1 Like

The issues you have found earlier (filed as DIAGRAMJAVA-50706) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou