Skip to content

faq 205258761

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

Unmaterialized config group in standalone version

by Enoch Lee on 2018-03-07 14:13:11.812


Dear all,,

'Unmaterialized config group' error would be shown whenever some modules in config is not added to the controller.

In Eclipse, we can solve the problem by either (e.g. emission):

EmissionsConfigGroup ecg = new EmissionsConfigGroup() ;
 config.addModule(ecg);

or (e.g. signals),

controler.addOverridingModule(new SignalsModule());

However, what should we do if we would like to use these modules in the standalone versions that are obtained here?

Thank you in advance.

Enoch


Comments: 1


Re: Unmaterialized config group in standalone version

by Kai Nagel on 2018-03-07 15:00:29.399

Sounds like "unintended dysfunctionality" to me (to avoid the word bug). Could you please be more specific where these problems show up? Then we can fix them at least for the future. We should probably write regression tests around the main classes just to make sure that they remain runnable.

Until then (or in some sense in general) I would recommend to clone https://github.com/matsim-org/matsim-example-project , put the contrib that you want to use into pom.xml, copy the main class that you want to run into your IDE, and adapt accordingly.

Clone this wiki locally