-
Notifications
You must be signed in to change notification settings - Fork 181
faq 95289359
by Konstanze Winter on 2016-11-18 09:48:57
Good morning,
I am having trouble running the OneTaxi example, I am getting the following error:
2016-11-18 10:29:34,222 ERROR MatsimRuntimeModifications:54 Getting uncaught Exception in Thread main
java.lang.RuntimeException: Unmaterialized config group: one_taxi
at org.matsim.core.config.consistency.UnmaterializedConfigGroupChecker.checkConsistency(UnmaterializedConfigGroupChecker.java:11)
at org.matsim.core.config.Config.checkConsistency(Config.java:228)
at org.matsim.core.controler.ControlerUtils.checkConfigConsistencyAndWriteToLog(ControlerUtils.java:65)
at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:89)
at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:48)
at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:31)
at org.matsim.core.controler.AbstractController.run(AbstractController.java:99)
at org.matsim.core.controler.NewControler.run(NewControler.java:79)
at org.matsim.core.controler.Controler.run(Controler.java:191)
at org.matsim.run.Controler.run(Controler.java:56)
at org.matsim.run.Controler.main(Controler.java:60)
2016-11-18 10:29:34,224 ERROR MatsimRuntimeModifications:60 ERROR --- This is an unexpected shutdown!
2016-11-18 10:29:34,224 ERROR MatsimRuntimeModifications:63 Shutdown possibly caused by the following Exception:
java.lang.RuntimeException: Unmaterialized config group: one_taxi
at org.matsim.core.config.consistency.UnmaterializedConfigGroupChecker.checkConsistency(UnmaterializedConfigGroupChecker.java:11)
at org.matsim.core.config.Config.checkConsistency(Config.java:228)
at org.matsim.core.controler.ControlerUtils.checkConfigConsistencyAndWriteToLog(ControlerUtils.java:65)
at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:89)
at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:48)
at org.matsim.core.controler.MatsimRuntimeModifications.run(MatsimRuntimeModifications.java:31)
at org.matsim.core.controler.AbstractController.run(AbstractController.java:99)
at org.matsim.core.controler.NewControler.run(NewControler.java:79)
at org.matsim.core.controler.Controler.run(Controler.java:191)
at org.matsim.run.Controler.run(Controler.java:56)
at org.matsim.run.Controler.main(Controler.java:60)
2016-11-18 10:29:34,225 ERROR MatsimRuntimeModifications:78 ERROR --- MATSim unexpectedly terminated. Please check the output or the logfile with warnings and errors for hints.
2016-11-18 10:29:34,226 ERROR MatsimRuntimeModifications:79 ERROR --- results should not be used for further analysis.
2016-11-18 10:29:34,226 ERROR MatsimRuntimeModifications:83 ERROR --- This was an unexpected shutdown! See the log file for a possible reason.
I am a MATSim beginner, so I am not sure what could cause this inconsistency. Any help or suggestions are appreciated! Thank you in advance, Konstanze
by Joschka Bischoff on 2016-11-21 07:40:25
Hi Konstanze,
please make sure you are refering to the right config file, the one-taxi-example has a very specific need for this one config. (We might need to revise this, the example is somewhat a relict of times when there was no taxi contrib).
However, if you are interested in simulating taxis, I suggest to look at the more useful example in the taxi and / or autonomous vehicle (AV) contrib. These are:
RunTaxiScenario in org.matsim.contrib.taxi.run; (works in MATSim 0.8.0 upwards)
and
RunRobotaxiExample in org.matsim.contrib.av.robotaxi.run (works only if you are currently working with the 0.9.0-SNAPSHOT).
Hope this helps,
Joschka
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq