Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343214

Summary: 1.2.0 RC1. Exception running MultiPopulationNoVillageExample scenario in the downloadable MultiPopulationExample_PajekGraph
Product: [Technology] STEM Reporter: Stefan Edlund <sedlund>
Component: SimulationAssignee: Stefan Edlund <sedlund>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.1.2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Stefan Edlund CLA 2011-04-18 19:17:02 EDT
Import the project into 1.2.0 RC1 and run the scenario. I see this exception:

java.lang.NullPointerException
at org.eclipse.stem.solvers.rk.impl.RungeKuttaImpl.step(Unknown Source)
at org.eclipse.stem.core.scenario.impl.ScenarioImpl.step(Unknown Source)
at org.eclipse.stem.jobs.simulation.Simulation.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Stefan Edlund CLA 2011-04-18 23:08:41 EDT
Fixed. EMF problem, the "initialized" attribute of the solver should be volatile and not persisted. Also fixed the downloadable scenario to correct this.
Comment 2 James Kaufman CLA 2011-07-18 21:45:19 EDT
Complete