agrignard / ReChamp

Project for the Champs Elysées project
1 stars 3 forks source link

Java error sometime happening (when switching mode) #48

Closed agrignard closed 4 years ago

agrignard commented 4 years ago

There is new a story telling with 6 phases (Mobility, nature, usage before and after) trigger by pressing 1,2,3,4,5,6

However when I switch from 3 to 4 (and then ask to reupdate the Simu) sometime I get this crash

(that I don't have (at least cannot reproduce) when pressing z (for next simulation state) 2 occurrences in 2 agents at cycle 300: Java error: nil value detected in NullPointerException: null simtools.gaml.extensions.traffic.DrivingSkill.getVehiculeLength(DrivingSkill.java:439) simtools.gaml.extensions.traffic.DrivingSkill.nextRoadTestLane(DrivingSkill.java:690) simtools.gaml.extensions.traffic.DrivingSkill.laneChoice(DrivingSkill.java:1134) simtools.gaml.extensions.traffic.DrivingSkill.primLaneChoice(DrivingSkill.java:1194) gaml.additions.GamlAdditions.lambda$85(GamlAdditions.java:119) msi.gaml.compilation.GamaHelper.run(GamaHelper.java:43) msi.gaml.compilation.IGamaHelper.run(IGamaHelper.java:35) in agents car313, Simulation 0

agrignard commented 4 years ago

also this 2 occurrences in 2 agents at cycle 1127: Java error: nil value detected in NullPointerException: null in agents car502, Simulation 0

agrignard commented 4 years ago

ok je vais tester (il etati dej apas eveidnet à reproduire sans le changement) mais on va voir