Free Support Forum - aspose.com

Visio import won't finish


#1

Hi,
I’m trying to import a viso vsd file but the import stucks in endless loop in the line with new com.aspose.diagram.Diagram(inputStream). What is the problem? I’ve attached the vsd file causing problems.

com.aspose.diagram.Diagram diagram =
					new com.aspose.diagram.Diagram(inputStream);
         DiagramSaveOptions options = new DiagramSaveOptions(SaveFileFormat.VDX);
         ByteArrayOutputStream bos = new ByteArrayOutputStream();
        diagram.save(bos, options);
        return bos.toString(StandardCharsets.UTF_8.name());

Best,
Lukas
resaved.zip (199.8 KB)


#2

@Lukas_B

We were able to replicate the issue using Aspose.Diagram for Java 19.4 and logged it as DIAGRAMJAVA-50657 in our issue tracking system. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.


#3

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