-
Notifications
You must be signed in to change notification settings - Fork 179
faq 126287873
by cui yi on 2017-11-29 02:26:02
Dera Professor:
I make the population.xml and netwok.xml files,but when runing the matsim0.8.1,the WarningsErrors.log told me that "2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041605 has no plans!"
Here is the full text:
2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041605 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041604 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041903 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059600202 has no plans! 2017-11-29 10:06:58,717 WARN PersonPrepareForSim:96 Person 21059053101 has no plans! 2017-11-29 10:06:58,717 WARN PersonPrepareForSim:96 Person 21059053203 has no plans! 2017-11-29 10:06:58,717 WARN PersonPrepareForSim:96 Person 21059053402 has no plans! 2017-11-29 10:06:58,717 WARN PersonPrepareForSim:96 Person 21059054504 has no plans!
2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041605 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041604 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059041903 has no plans! 2017-11-29 10:06:58,716 WARN PersonPrepareForSim:96 Person 21059600202 has no plans! ..........
2017-11-29 10:06:58,717 WARN PersonPrepareForSim:96 Person 21059053203 has no plans! 2017-11-29 10:07:05,359 WARN PersonPrepareForSim:96 Person 13121037501 has no plans! 2017-11-29 10:07:05,359 WARN PersonPrepareForSim:96 Person 13121037602 has no plans! 2017-11-29 10:07:05,806 ERROR AbstractController:214 Mobsim did not complete normally! afterMobsimListeners will be called anyway. java.lang.NullPointerException at org.matsim.population.VspPlansCleaner.notifyBeforeMobsim(VspPlansCleaner.java:52) at org.matsim.core.controler.ControlerListenerManagerImpl.fireControlerBeforeMobsimEvent(ControlerListenerManagerImpl.java:230) at org.matsim.core.controler.AbstractController$6.run(AbstractController.java:195) at org.matsim.core.controler.AbstractController.iterationStep(AbstractController.java:235) at org.matsim.core.controler.AbstractController.mobsim(AbstractController.java:192) at org.matsim.core.controler.AbstractController.iteration(AbstractController.java:158) at org.matsim.core.controler.AbstractController.doIterations(AbstractController.java:125) at org.matsim.core.controler.AbstractController.access$000(AbstractController.java:30) at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:95) 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:103) at org.matsim.core.controler.NewControler.run(NewControler.java:79) at org.matsim.core.controler.Controler.run(Controler.java:190) at org.matsim.run.Controler.run(Controler.java:56) at org.matsim.run.Controler.main(Controler.java:60) 2017-11-29 10:07:05,813 ERROR MatsimRuntimeModifications:54 Getting uncaught Exception in Thread main java.lang.NullPointerException at org.matsim.population.VspPlansCleaner.notifyBeforeMobsim(VspPlansCleaner.java:52) at org.matsim.core.controler.ControlerListenerManagerImpl.fireControlerBeforeMobsimEvent(ControlerListenerManagerImpl.java:230) at org.matsim.core.controler.AbstractController$6.run(AbstractController.java:195) at org.matsim.core.controler.AbstractController.iterationStep(AbstractController.java:235) at org.matsim.core.controler.AbstractController.mobsim(AbstractController.java:192) at org.matsim.core.controler.AbstractController.iteration(AbstractController.java:158) at org.matsim.core.controler.AbstractController.doIterations(AbstractController.java:125) at org.matsim.core.controler.AbstractController.access$000(AbstractController.java:30) at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:95) 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:103) at org.matsim.core.controler.NewControler.run(NewControler.java:79) at org.matsim.core.controler.Controler.run(Controler.java:190) at org.matsim.run.Controler.run(Controler.java:56) at org.matsim.run.Controler.main(Controler.java:60) 2017-11-29 10:07:05,814 ERROR MatsimRuntimeModifications:60 ERROR --- This is an unexpected shutdown! 2017-11-29 10:07:05,814 ERROR MatsimRuntimeModifications:63 Shutdown possibly caused by the following Exception: java.lang.NullPointerException at org.matsim.population.VspPlansCleaner.notifyBeforeMobsim(VspPlansCleaner.java:52) at org.matsim.core.controler.ControlerListenerManagerImpl.fireControlerBeforeMobsimEvent(ControlerListenerManagerImpl.java:230) at org.matsim.core.controler.AbstractController$6.run(AbstractController.java:195) at org.matsim.core.controler.AbstractController.iterationStep(AbstractController.java:235) at org.matsim.core.controler.AbstractController.mobsim(AbstractController.java:192) at org.matsim.core.controler.AbstractController.iteration(AbstractController.java:158) at org.matsim.core.controler.AbstractController.doIterations(AbstractController.java:125) at org.matsim.core.controler.AbstractController.access$000(AbstractController.java:30) at org.matsim.core.controler.AbstractController$1.run(AbstractController.java:95) 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:103) at org.matsim.core.controler.NewControler.run(NewControler.java:79) at org.matsim.core.controler.Controler.run(Controler.java:190) at org.matsim.run.Controler.run(Controler.java:56) at org.matsim.run.Controler.main(Controler.java:60) 2017-11-29 10:07:05,815 ERROR MatsimRuntimeModifications:78 ERROR --- MATSim unexpectedly terminated. Please check the output or the logfile with warnings and errors for hints. 2017-11-29 10:07:05,815 ERROR MatsimRuntimeModifications:79 ERROR --- results should not be used for further analysis. 2017-11-29 10:07:05,816 ERROR MatsimRuntimeModifications:83 ERROR --- This was an unexpected shutdown! See the log file for a possible reason.
My polupation file is like this:
<person id="21059041605">
<plan selected="yes" score="">
<act type="home" x="275576.196589" y="2573013.95543" end_time="6:00:00"/>
<leg mode="car"/>
<act type="shopping" x="224272.515827" y="2526144.02458" end_time="17:00:00"/>
<leg mode="car"/>
<act type="shopping" x="275576.196600" y="2573013.95540"/>
</plan>
</person>
So, can you help me analysisi the reason? or some suggestions, thank you!
by Johan W. Joubert on 2017-11-29 17:16:30
I may be wrong, but to my knowledge plans must be "valid" before they are considered in the simulation. And for that your final activity ('shopping'
in your example, but it may have to be 'home'
) must have a start time.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq