Java Aspose.Diagram crashing server

I am using the attached java script to convert the attached vdx to pdf.


I am having issues with this crashing my linux server and am having difficulty diagnosing the problem.

It appears that the issue occurs if anything else happens on the server at the same time so possibly a memory issue?

The script succeeds around 70% of the time, and fails the rest, bringing down the server.


Hi Broussard,


Thank you for contacting support. Based on our initial investigation, we did not notice any error message. However, please provide us the environment details where you are facing this problem, i.e. Linux Operating System (version), IDE (Eclipse, Netbeans etc.), Application type, error details, JDK version. We’ll investigate this issue at our end and guide you accordingly. This will help us to replicate the problem on our side.

Thanks for the quick response.


The requested details are:

Running on an OpenShift server (https://www.openshift.com/)

Java
java version “1.7.0_71”
OpenJDK Runtime Environment (rhel-2.5.3.1.el6-i386 u71-b14)
OpenJDK Server VM (build 24.65-b04, mixed mode)

Linux
2.6.32-431.29.2.el6.x86_64

Application Details
The programme this is part of is a Node.js application. Unfortunately I am not experienced with Java and hence my difficulty diagnosing this problem. The node.js script accesses the command prompt and runs the following command.

java ProcessVisio 8933_1.vdx

This then seems to bring down the server completely, however it doesn’t fail every time - sometimes completing successfully. I am not having the same issue on my Windows 8.1 laptop.




Hi Broussard,


Thank you for providing environmental details. You have not shared exact error details yet. We recommend you, please prepare a Java sample file and put Aspose.Diagram conversion code in it and compile/run this Java file through commands without IDE or node.js as narrated there: http://docs.oracle.com/javase/tutorial/getStarted/cupojava/unix.html

Please also let us know, how it goes on your side. In case, it fails, there too, then please provide us Java program logs. Please refer to the file location details: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/tracing_logging.html

Meanwhile, we’re working to setup an environment and it will take a little time. We’ll get back to you at the end of this week or early in the next week.

Hi Broussard,
edbroussard:
Running on an OpenShift server (https://www.openshift.com/)

Java
java version "1.7.0_71"
OpenJDK Runtime Environment (rhel-2.5.3.1.el6-i386 u71-b14)
OpenJDK Server VM (build 24.65-b04, mixed mode)

Linux
2.6.32-431.29.2.el6.x86_64

Application Details
The programme this is part of is a Node.js application. Unfortunately I am not experienced with Java and hence my difficulty diagnosing this problem. The node.js script accesses the command prompt and runs the following command.
Thank you for being patient and sorry for the delay. We've tested your sample Visio diagram against the latest build of Aspose.Diagram for Java 6.0.1 and the said environment details. We could not notice any issue during the conversion process. Please check operating system logs and share error details with us. We're looking forward to help out.

Note: We have attached the output PDF file along with this reply.