Open paulkitt opened 6 years ago
After recording the stderror output of the executed jar we got an error now(we need better error logging in the ruby app #102):
Exception in thread "Thread-4" java.lang.StringIndexOutOfBoundsException: String index out of range: 5
at java.lang.String.substring(String.java:1963)
at com.innoz.toolbox.io.database.task.ReadPersonDatabaseTask.parse(ReadPersonDatabaseTask.java:89)
at com.innoz.toolbox.io.database.SurveyDatabaseParserV2.run(SurveyDatabaseParserV2.java:76)
at com.innoz.toolbox.scenarioGeneration.population.algorithm.SurveyBasedDemandGenerator.createCompletePopulation(SurveyBasedDemandGenerator.java:91)
at com.innoz.toolbox.scenarioGeneration.population.algorithm.SurveyBasedDemandGenerator.run(SurveyBasedDemandGenerator.java:72)
at com.innoz.toolbox.run.controller.task.DemandGenerationTask.run(DemandGenerationTask.java:98)
at com.innoz.toolbox.run.controller.Controller.lambda$run$0(Controller.java:76)
at java.lang.Thread.run(Thread.java:748)
Log around the crash:
2018-04-11 16:15:20,077 INFO DemandGenerationTask:71 Selected type of population: SURVEY
2018-04-11 16:15:20,086 INFO SurveyDatabaseParserV2:53 Parsing surveys database to create a synthetic population
2018-04-11 16:15:20,086 INFO PsqlAdapter:46 Connecting to database surveyed_mobility as user matsim...
2018-04-11 16:15:20,092 INFO SurveyDatabaseParserV2:74 Creating survey persons...
After long debbuging we isolated the Exception. In the failing simulations need Geoinformation(ReadPersonDatabaseTask:85) units are not found or missing the id.
seems like all districts excpept berlin has been finsished
For these districts only
network.xml.gz
is created andconfig.xml.gz personAttributes.xml.gz plans.xml.gz
are missing. No database entries are created and no error appears int the logs:Not yet processed but failed same style before are: 11000 / Berlin