Converter freezes during import

When importing vsd file to vsdx, the process freezes indefinitely.

vsd file with this issue:
41-TR-R-N001-A.zip (270.2 KB)

The file was converted with this code snippet:

File file = new File(PATH_TO_VSD_FILE);
Diagram d = new Diagram(file.getAbsolutePath());
d.save(file.getAbsolutePath() + "x", SaveFileFormat.VSDX);

@casserolepan

I’m sorry to hear about the issue you’re experiencing with the conversion process. To better assist you, could you please provide the following details:

  1. The specific version of the Aspose.Diagram for Java API you are using.
  2. Any error messages or logs that you receive when the process freezes.
  3. The output file simplification: If the save call you have should fix the save path. Confidence with the Diagram.save method remains constant:
    d.save(file.getAbsolutePath() + ".vsdx", SaveFileFormat.VSDX);
    

I assume you’re using an earlier version of the Aspose.Diagram for Java API. If possible, please try using the latest version of the API.

In addition, Aspose Diagnostic Utility could help collect all the required information needed to diagnose the issue. Here’s how to use it:

  1. Download the Aspose Diagnostic Utility from the link here.

  2. Follow the steps mentioned in the documentation.

  3. Collect the diagnostics report and share the diagnostics ID with us.

  4. Attach your VSD file and any related information that might help us diagnose the issue.

Lastly, check the usage of the save method among the code provided for usage ** Havre Cache** method recently used by Aspose Diagnosis:

Diagram d = new Diagram(PATH_TO_VSD_FILE);
d.save(PATH_TO_VSDX_FILE + ".vsdx", SaveFileFormat.VSDX);

These steps should help us better understand and address the freezing issue you’re encountering during the conversion from VSD to VSDX. If the issue persists, please share the diagnostic ID as well as any other relevant logs or information.

@casserolepan
Thanks for the template file .
After an initial testing, I am able to reproduce the issue as you mentioned by using your template file.

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): DIAGRAMNET-53786

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.

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

Thank you for resolving an issue. File is converting now, but most of the shapes are missing.

vsd file and a screenshot:
missing shapes.zip (304.8 KB)

Code snippet is the same.

@casserolepan
Thanks for the template file and screenshots.
We reproduced the problems you mentioned by converting your template VSD file to VSDX.
We are sorry for the inconvenience.

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): DIAGRAMNET-53799

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.