Examples execution issues

I tried running samples from the QuickStart( http://wiki.clovergui.net/doku.php?id=quick_start ) and receiving the following error:


ERROR [main] - Error in reading graph from XML !
org.jetel.exception.XMLConfigurationException: Can't load property definition from workspace.prm
	at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateProperties(TransformationGraphXMLReaderWriter.java:712)
	at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:314)
	at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:270)
	at org.jetel.graph.TransformationGraphXMLReaderWriter.loadGraph(TransformationGraphXMLReaderWriter.java:203)
	at org.jetel.main.runGraph.main(runGraph.java:311)
Caused by: java.io.FileNotFoundException: workspace.prm (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.jetel.util.file.FileUtils.getAuthorizedStream(FileUtils.java:316)
	at org.jetel.util.file.FileUtils.getInputStream(FileUtils.java:269)
	at org.jetel.util.file.FileUtils.getReadableChannel(FileUtils.java:203)
	at org.jetel.graph.TransformationGraph.loadGraphPropertiesSafe(TransformationGraph.java:757)
	at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateProperties(TransformationGraphXMLReaderWriter.java:710)

Why would it happen and how do I get to run the sample graphs?

Hello,
this way is valid for “old” examples. Now a structure of the examples package is a bit different and each example should be run from its “project” directory, eg. simpleExamples, advancedExamples. See to Simple Examples page, which is up to date.

Thank you! That helps :slight_smile: