LittoSim / LittoSim_model

Participatory simulation model of coastal flooding management
http://littosim.github.io/LittoSim_model/
7 stars 3 forks source link

bug Eternelle de GAMA lors du lancement du Lisflood, du à la mauvaise implémentation de GAMA (certainement à la crise sanitaire) #43

Open nbecu opened 4 years ago

nbecu commented 4 years ago

Ahmed, peux tu copier ici le détail du bug

laatabix commented 4 years ago

Voilà la trace de GAMA:

_1 occurence in Simulation 0 at cycle 550: Java error: nil value detected in reflex show_flood_stats when: (stateSimPhase != nil) and (stateSimPhase = SIM_SHOWING_FLOOD_STATS) { write flood_results ; if save_data { save flood_results to: ((((output_data_rep + '\/flood_results\/flooding-') + machine_time) + '-R') + game_round) + '.txt' type: text ; }

if send_flood_results  {
    do send_flooding_results (d:nil);
    send_flood_results <- false;
}

stateSimPhase <- SIM_GAME;
write (((stateSimPhase + ' - ') + MSG_ROUND) + ' ') + game_round ;

}

NullPointerException: null msi.gama.runtime.concurrent.GamaExecutorService.doStep(GamaExecutorService.java:233) msi.gama.runtime.concurrent.GamaExecutorService.step(GamaExecutorService.java:204) msi.gama.metamodel.population.GamaPopulation.stepAgents(GamaPopulation.java:208) msi.gama.metamodel.population.GamaPopulation.step(GamaPopulation.java:203) msi.gama.runtime.ExecutionScope.step(ExecutionScope.java:415) msi.gama.metamodel.agent.GamlAgent.stepSubPopulations(GamlAgent.java:98) msi.gama.metamodel.agent.AbstractAgent.doStep(AbstractAgent.java:283) in agent Simulation 0_

Le bug chez moi : ahmed

Le bug chez Nico : nico