promise.set(g);
runInCpsVmThread(new FutureCallback<CpsThreadGroup>() {
@Override public void onSuccess(CpsThreadGroup g) {
CpsThread t = g.addThread(
new Continuable(new ThrowBlock(new ConstantBlock(
new IOException("Failed to load persisted workflow state", problem)))),
head_, null
);
t.resume(new Outcome(null,null));
}