06-05-2011 09:58 PM
06-06-2011 03:14 AM
06-06-2011 03:58 AM
org.activiti.engine.ActivitiException: lazy loading outside command context
at org.activiti.engine.impl.runtime.VariableScopeImpl.ensureVariableInstancesInitialized(VariableScopeImpl.java:56)
at org.activiti.engine.impl.runtime.VariableScopeImpl.hasVariableLocal(VariableScopeImpl.java:141)
at org.activiti.engine.impl.runtime.VariableScopeImpl.hasVariable(VariableScopeImpl.java:130)
at org.activiti.engine.impl.el.VariableScopeElResolver.getValue(VariableScopeElResolver.java:55)
at org.activiti.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:81)
at org.activiti.engine.impl.juel.AstEval.eval(AstEval.java:50)
at org.activiti.engine.impl.juel.AstComposite.eval(AstComposite.java:34)
at org.activiti.engine.impl.juel.AstNode.getValue(AstNode.java:26)
at org.activiti.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)
ExecutionEntity exe = (ExecutionEntity) processInstance;
ExpressionFactory ef = new ExpressionFactoryImpl();
VariableScopeElResolver varResolver = new VariableScopeElResolver(exe);
ELContext elcont = new ActivitiElContext(varResolver);
ValueExpression ex = ef.createValueExpression(elcont, expressionString, Object.class);
String result = (String) ex.getValue(elcont); // the exception is from this line
return result;
"processInstance" variable is just an org.activiti.engine.runtime.ProcessInstance object.06-06-2011 04:53 AM
06-06-2011 07:10 AM
06-06-2011 07:25 AM
09-01-2015 04:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.