Git Product home page Git Product logo

dcsim's People

Contributors

derekhawker avatar gkeller2 avatar mtighe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dcsim's Issues

Exception on runnung dcsim examples

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

Documentation missing

@mtighe : we need to add some documentation here. A README file to start with, I guess. This file could have some references to papers that we wrote using the simulator. Also, some description of the simulator would be good. This is not a priority, but perhaps making a report with your thesis chapter on DCSim could work.

Thoughts?

Upload projects' code

Mike, as we discussed before, we should upload the code from our past projects. Personally, I'd keep them in a different repository from DCSim. I'd suggest renaming the repository from digs-projects to dcsim-projects. What do you think?

If we go ahead, is all your code merged into the master branch of digs-projects? My branch dependencies hasn't been merged yet, but I'm going to wait until I'm done with the IM 2015 paper before uploading the code.

Exception on run example

Exception in thread "main" java.lang.NumberFormatException: For input string: "0 "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.parseLong(Long.java:483)
at edu.uwo.csd.dcsim.core.metrics.ApplicationMetrics.(ApplicationMetrics.java:55)
at edu.uwo.csd.dcsim.core.metrics.SimulationMetrics.(SimulationMetrics.java:41)
at edu.uwo.csd.dcsim.core.Simulation.(Simulation.java:236)
at edu.uwo.csd.dcsim.SimulationTask.(SimulationTask.java:31)
at edu.uwo.csd.dcsim.examples.ApplicationExample.(ApplicationExample.java:48)
at edu.uwo.csd.dcsim.examples.ApplicationExample.main(ApplicationExample.java:37)

The problem should be in row 614 on Simulation Class, with the property appSlaGraceTime

prop = getProperties().getProperty(name);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.