Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: NullPointerException in org.matsim.core.population.routes.RouteUtils.calcDistance #3824

Open
nikolayilyin opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels

Comments

@nikolayilyin
Copy link
Collaborator

the following exception might happen once in a simulation, but is seems it does not prevent simulation from completion.

03:21:03.146 [Events-0] ERROR o.m.core.events.EventsManagerImpl - Could not handle event '
java.lang.NullPointerException: null
at org.matsim.core.population.routes.RouteUtils.calcDistance(RouteUtils.java:167)
at org.matsim.core.scoring.EventsToLegs.handleEvent(EventsToLegs.java:338)
at org.matsim.core.scoring.EventsToLegsAndActivities.handleEvent(EventsToLegsAndActivities.java:68)
at org.matsim.core.events.EventsManagerImpl.callHandlerFast(EventsManagerImpl.java:299)
at org.matsim.core.events.EventsManagerImpl.handle(EventsManagerImpl.java:242)
at org.matsim.core.events.EventsManagerImpl.processEvent(EventsManagerImpl.java:143)
at org.matsim.core.events.ProcessEventThread.run(ProcessEventThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)

reproducible at zn/PILATES_DEBUG (a59c2fa) with test/input/beamville/beam.conf.
always at iteration 2, after different hour

@nikolayilyin nikolayilyin assigned dimaopen and nikolayilyin and unassigned dimaopen Mar 1, 2024
@dimaopen dimaopen added the Bug label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants