Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343214 - 1.2.0 RC1. Exception running MultiPopulationNoVillageExample scenario in the downloadable MultiPopulationExample_PajekGraph
Summary: 1.2.0 RC1. Exception running MultiPopulationNoVillageExample scenario in the...
Status: CLOSED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: Simulation (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 1.1.2   Edit
Assignee: Stefan Edlund CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 19:17 EDT by Stefan Edlund CLA
Modified: 2011-07-18 21:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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