-
Notifications
You must be signed in to change notification settings - Fork 6
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
Terminate SimonSim
when reading initialization fails
#210
Labels
bug
Something isn't working
Comments
Possibly connected to #76 |
sebastian-peter
added a commit
that referenced
this issue
May 31, 2022
# Conflicts: # src/main/scala/edu/ie3/simona/scheduler/SchedulerHelper.scala # src/main/scala/edu/ie3/simona/sim/SimonaSim.scala
sebastian-peter
added a commit
that referenced
this issue
Jun 9, 2022
sebastian-peter
added a commit
that referenced
this issue
Jun 20, 2022
sebastian-peter
added a commit
that referenced
this issue
Sep 21, 2022
# Conflicts: # build.gradle # src/main/scala/edu/ie3/simona/scheduler/SchedulerHelper.scala # src/main/scala/edu/ie3/simona/sim/setup/SimonaStandaloneSetup.scala # src/test/scala/edu/ie3/simona/scheduler/ExtendedSimSchedulerSpec.scala
SimonSim
when reading initialization fails
sebastian-peter
added a commit
that referenced
this issue
Feb 21, 2024
# Conflicts: # src/main/scala/edu/ie3/simona/main/RunSimona.scala
sebastian-peter
added a commit
that referenced
this issue
Feb 21, 2024
danielfeismann
added a commit
that referenced
this issue
Feb 23, 2024
Convertig `SimonaSim` to a typed actor, improving failure handling
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, e.g. on reading faulty grid input data, an exception is thrown within
SimonaSim
but the simulation is not terminated.Okay, turns out the problem is within
SimonaSim
. There, all actors are created during creation of the objectSimonaSim
, i.e. when the object constructor is called. This means though that any exceptions thrown during initialization here are not properly handled by SIMONA and the program just keeps running.The text was updated successfully, but these errors were encountered: