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

Free Support Forum - aspose.com

Aspose.Diagram always throw an exception when create instance of Diagram class

Hi,

I have downloaded "Aspose.Diagram for Java 5.6.0". When I load visio file and create instance of Diagram class, it always throw an exception.

Code:
Diagram diagram = new Diagram("D:\\Drawing1.vsd");

Error Message:
Error in element VisioDocument in \VisioDocument. Index: 1, Size: 1 (DiagramException)

Same code works with "Aspose.Diagram for Java 5.5.0"

Please take a look and share your thoughts.

Hi Masood,


Thank you for contacting support. Please provide us your source Visio diagram sample to reproduce the error message said on our side. We’ll investigate it and reply you accordingly.

Attached you will find sample file.

Hi Masood,


Thank you for providing the source Visio diagram. We’re sorry to share with you that we could not reproduce the error message said. We need to be more specific. Please provide the complete details of your working environment. It’ll help us in replicating the error message on our side, please reply to the following questions:

  • What is the version of the Operating System and edition, etc.
  • What is the JDK version and update/build number of Java environment?
  • What is the Java application type?
  • Any other information that you think is necessary.

We’re looking forward to help you.