if (sessionInfo == null) {
SpringSingleSessionCommandService.this.env.set(EnvironmentName.ENTITY_MANAGER, null);
throw new RuntimeException("Could not find session data for id " + sessionId);
}
marshallingHelper = new JPASessionMarshallingHelper(sessionInfo, kbase, localConf,
SpringSingleSessionCommandService.this.env);
sessionInfo.setJPASessionMashallingHelper(marshallingHelper);
ksession = marshallingHelper.getObject();
kContext = new KnowledgeCommandContext(new ContextImpl("ksession", null), null, null,