New Diagram() crashes reading from InputStream

Find attached a sample Java class, which reads in a VDX and outputs to VSDM. However, this calls fails:

Diagram diagram = new Diagram(is,LoadFileFormat.VDX);

with this stack trace:
com.aspose.diagram.DiagramException: Error in element Pages in \VisioDocument. loadPages
at com.aspose.diagram.gv.a(Unknown Source)
at com.aspose.diagram.acv.d(Unknown Source)
at com.aspose.diagram.acv.load(Unknown Source)
at com.aspose.diagram.DiagramMapperXML.load(Unknown Source)
at com.aspose.diagram.kz.a(Unknown Source)
at com.aspose.diagram.Diagram.(Unknown Source)
at convert.ConvertVisio.saveToVsdmFile(ConvertVisio.java:134)
at convert.ConvertVisio.main(ConvertVisio.java:33)

Find attached a ZIP that has sample class, stencil, and VDX file

sample.zip (328.2 KB)

@caldercay,

We are unable to download your attached file and in-progress to fix this problem. Meanwhile, please upload your attached file to any free file sharer server (e.g. Google drive), and then share its download URL. We will investigate and share our findings with you. Your response is awaited.

[Edit] You might attach this file again in your reply post because we can download the recent attached files in other forum threads.

This reply is to add the attachment.

In case the attachment is unavailable, try this link:
https://drive.google.com/file/d/1woidrHR7LWwlTNucZ_TRJCpcBOhwmMLg/view?usp=drivesdk

sample.zip (328.2 KB)

@caldercay,

We managed to replicate this error in our environment. It has been logged under the ticket ID DIAGRAMJAVA-50576 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

@caldercay,

The linked ticket ID DIAGRAMJAVA-50576 has been resolved and will be included in the next version 17.12 of Aspose.Diagram for Java API. We will notify you once the next version is published.

@caldercay,

The fix of linked ticket ID DIAGRAMJAVA-50576 has been included in the full version 17.12. Please download and try the latest version 17.12 of Aspose.Diagram for Java API.

Thanks - we tested and the issue is resolved, but a new issue has surfaced, so will submit a new ticket for that (connectors are not connected to shapes).

@caldercay,

We managed to replicate the problem of unconnected connecting lines. It has been logged under the ticket ID DIAGRAMJAVA-50577 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

@caldercay,

The linked ticket ID DIAGRAMJAVA-50577 has been resolved and will be included in the next version 18.1 of Aspose.Diagram for Java API. We will notify you once the next version is published.

@caldercay,

The liked ticket ID DIAGRAMJAVA-50577 has been fixed. Please download and try the latest version 18.1 of Aspose.Diagram for Java API.