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

Free Support Forum - aspose.com

PDF Conversion Failed for vsdx File

Hi Team,

we have seen that PDF Conversion from VSDX File is failed for a specific File.(Java)
Below is the stack Trace of the Exception. Please suggest fix for this Issue.

Source Code:
Diagram diagram = new Diagram(“E:\A9\InputFile.vsdx”);
diagram.save(“E:\A9\OutputFile.pdf”, SaveFileFormat.PDF);

Error Stack Trace:

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 11
at com.aspose.diagram.a.d.gr.a(Unknown Source)
at com.aspose.diagram.a.d.gr.a(Unknown Source)
at com.aspose.diagram.a.d.gs.d(Unknown Source)
at com.aspose.diagram.a.d.gs.(Unknown Source)
at com.aspose.diagram.a.d.gk.a(Unknown Source)
at com.aspose.diagram.a.d.gq.a(Unknown Source)
at com.aspose.diagram.a.d.fv.a(Unknown Source)
at com.aspose.diagram.a.d.gh.a(Unknown Source)
at com.aspose.diagram.a.d.go.a(Unknown Source)
at com.aspose.diagram.a.d.m.a(Unknown Source)
at com.aspose.diagram.a.d.e.a(Unknown Source)
at com.aspose.diagram.a.d.d.a(Unknown Source)
at com.aspose.diagram.a.d.e.a(Unknown Source)
at com.aspose.diagram.a.d.d.a(Unknown Source)
at com.aspose.diagram.a.d.e.a(Unknown Source)
at com.aspose.diagram.a.d.d.a(Unknown Source)
at com.aspose.diagram.a.d.e.a(Unknown Source)
at com.aspose.diagram.a.d.l.a(Unknown Source)
at com.aspose.diagram.a.d.go.a(Unknown Source)
at com.aspose.diagram.qg.a(Unknown Source)
at com.aspose.diagram.Diagram.a(Unknown Source)
at com.aspose.diagram.Diagram.save(Unknown Source)
at com.insp.model.TEST.main(TEST.java:14)

Thanks
Karthik

@karthik13

Would you please share the sample Diagram file as well for our reference so that we can test the scenario in our environment and address it accordingly?