Cannot create a VSDX file from scratch

Hi there,


I am working with latest Apsose.Diagram version 6.3.0 to create a VSDX file from scratch but get NullPointerException following:

Exception in thread “main” java.lang.NullPointerException
at com.aspose.diagram.gz.k(Unknown Source)
at com.aspose.diagram.gz.a(Unknown Source)
at com.aspose.diagram.gx.c(Unknown Source)
at com.aspose.diagram.gx.a(Unknown Source)
at com.aspose.diagram.je.q(Unknown Source)
at com.aspose.diagram.je.a(Unknown Source)
at com.aspose.diagram.jd.a(Unknown Source)
at com.aspose.diagram.ew.save(Unknown Source)
at com.aspose.diagram.jy.b(Unknown Source)
at com.aspose.diagram.Diagram.a(Unknown Source)
at com.aspose.diagram.Diagram.save(Unknown Source)
at com.att.cemp.visio.aspose.TestVisioCreator.main(TestVisioCreator.java:75)

I only develop a very simple program follows this sample https://github.com/aspose-diagram/Aspose.Diagram-for-Java/blob/master/Examples/src/main/java/com/aspose/diagram/examples/Diagrams/CreateDiagram.java as:

public static void main(String[] args) throws Exception {
Diagram diagram = new Diagram();
// save in the VSDX format
diagram.save(“C:\Users\chaunph1\Desktop\test\output\sample-generated.vsdx”, SaveFileFormat.VSDX);
}

Please help solve this problem, I need to prove with my manager the API is strong enough to deal with our current needs, then we could proceed purchasing.

Thanks and Regards,
Chau

Hi Chau,


Thank you for contacting support. We managed to replicate the said error message on our side. It is specific to VSDX format. As an alternative, you can save diagrams in the VDX format. We have logged this error message under ticket id DIAGRAMJAVA-50323 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

Hi Chau,


Thank you for being patient. We have a good news for you that the issue id DIAGRAMJAVA-50323 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version of Aspose.Diagram for Java 6.4.0. We’ll notify you in this forum thread as soon as the new release is published.

Hi Imran,


Thanks for your quick relies and your team’s supports.
I am looking forward to trying your next release.

Regards,
Chau
Hi Chau,

Sure, we'll notify you once the new version 6.4.0 of Aspose.Diagram for Java is available for the public use.


Sorry Imran, I think it should be a new Java version as my root post.

Regards,
Chau

Hi Chau,


Thank you for the correction. I have updated my earlier post.

Hi Chau,


Thank you for being patient. In reference to the ticket id DIAGRAMJAVA-50323, please download and use the latest Hotfix version: Aspose.Diagram for Java 6.3.2. Please also let us know how that goes on your side.

Hi Imran ,


The bug is fixed absolutely.

How brilliant your team is!

Thanks,
Chau

Hi Chau,


Thank you for the confirmation. It is nice to hear from you that the problem has been resolved. Please let us know in case of any further assistance or questions.

The issues you have found earlier (filed as DIAGRAMJAVA-50323) have been fixed in Aspose.Diagram for Java 6.4.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.