Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on runnung dcsim examples #7

Open
nafisf opened this issue Oct 24, 2016 · 0 comments
Open

Exception on runnung dcsim examples #7

nafisf opened this issue Oct 24, 2016 · 0 comments

Comments

@nafisf
Copy link

nafisf commented Oct 24, 2016

Errors:
Exception in thread "main" java.lang.RuntimeException: Properties file could not be loaded
at edu.uwo.csd.dcsim.core.Simulation.getProperties(Simulation.java:130)
at edu.uwo.csd.dcsim.core.Simulation.initializeLogging(Simulation.java:102)
at edu.uwo.csd.dcsim.examples.ApplicationExample.main(ApplicationExample.java:35)
Caused by: java.io.FileNotFoundException: C:\Users\user\Documents\NetBeansProjects\dcsim\dcsim\config\simulation.properties (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at edu.uwo.csd.dcsim.core.Simulation.getProperties(Simulation.java:128)
... 2 more
C:\Users\user\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 2 seconds)
open0(name);

(Simulation.java:130): throw new RuntimeException("Properties file could not be loaded", e);
(Simulation.java:102): if (getProperties().getProperty("enableConsoleLogFile") != null) {
(FileInputStream.java:195):open0(name);
(FileInputStream.java:138): open(name);
(FileInputStream.java:93): this(name != null ? new File(name) : null);
(Simulation.java:128): properties.load(new FileInputStream(Simulation.getConfigDirectory() + "/simulation.properties"));

C:\Users\user\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1:

dcsim execution error1
dcsim error2
dcsim error3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant