Converting Visio File to PDF generates empty file

Hello,
We recently tried upgrading Aspose-Diagram (Java) library from version " 20.4:jdk16" to " 23.12" and observed the following while convert a Visio file to PDF.

  1. In version “20.4:jdk16” conversion would throw exception and PDF is not generated. Here is the exception trace:
com.aspose.diagram.DiagramException: Error in element VisioDocument in \VisioDocument. Visio files with versions below 11 are not supported. Please convert the file to Visio 2003/2007/2010 format.
	at com.aspose.diagram.hq.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
	at com.aspose.diagram.bp.load(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
	at com.aspose.diagram.ma.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
	at com.aspose.diagram.ma.a(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
	at com.aspose.diagram.Diagram.<init>(Unknown Source) ~[aspose-diagram-20.4-jdk16.jar:20.4.0.0]
  1. Whereas in version “23.12”, no exception is thrown however it generates an empty PDF.

Please assist.
Thanks in advance.

@anish.gupta
Could you please share the sample visio file,we will check and help you soon.
Thanks.

@philip.zhou
Just tried uploading .vsd file, but getting a message “Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, zip, pdf, docx, 7z).
Is there any other way to share the file?

@anish.gupta
Please zip the .vsd file and post us this zip file.
Thanks.

ActivateNet Internet Transit Proposal.vsd.zip (315.7 KB)

Here you go.

@anish.gupta
Thanks for the template file.
We reproduced the problems you mentioned by converting your template vsd file to PDF.
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): DIAGRAMJAVA-51188

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.