Skip to content

faq 79527939

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Did something change in PopulationUtils?

by Yousef Hindy on 2016-08-18 17:32:17


Hi, I am running a simulation that was working just fine last night, but this morning I got the following error message:

java.lang.NoSuchMethodError: org.matsim.core.population.PopulationUtils.createLeg(Ljava/lang/String;)Lorg/matsim/api/core/v01/population/Leg; at org.matsim.contrib.dynagent.run.DynRoutingModule.calcRoute(DynRoutingModule.java:51)

Did something change with PopulationUtils? My project is configured with a maven dependency on the 0.9.0-SNAPSHOT

Source: MATSim

Comments: 1


Re: Did something change in PopulationUtils?

by Michal Maciejewski on 2016-08-19 08:54:02

Hi, There were some changes in the way plans/legs/activities etc. are created (incl. PopulationUtils) in July. It looks like you have jars/dependencies (taxi, dvrp, matsim) from different time points. Try to refresh the dependencies. Best, Michal

Clone this wiki locally