From ef02e962e80f78981efe73d63e33f701d02436b3 Mon Sep 17 00:00:00 2001 From: lempinen Date: Thu, 30 Sep 2010 09:36:23 +0000 Subject: [PATCH] session needs to be set before changing state git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18157 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/manager/SysdynExperiment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java index f8854cd5..69d4eeec 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java @@ -157,8 +157,8 @@ public class SysdynExperiment extends Experiment implements IDynamicExperiment { } public void init(ReadGraph g) { - changeState(ExperimentState.STOPPED); this.session = g.getSession(); + changeState(ExperimentState.STOPPED); session.asyncRequest(new ReadRequest() { -- 2.47.1