-
Bug
-
Resolution: Done
-
Major
-
jBPM 3.1.0
-
None
if you start saving multiple processes at the same time you get exception :
java.lang.RuntimeException: circular object dependency on bean 'resource.varmapping'
at org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:124)
at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:85)
at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:60)
at org.jbpm.JbpmConfiguration$Configs.getObject(JbpmConfiguration.java:359)
at org.jbpm.JbpmConfiguration$Configs.getString(JbpmConfiguration.java:362)
at org.jbpm.context.exe.JbpmType.getDefaultJbpmTypes(JbpmType.java:74)
at org.jbpm.context.exe.JbpmType.getJbpmTypes(JbpmType.java:68)
at org.jbpm.context.exe.VariableInstance.createVariableInstance(VariableInstance.java:87)
at org.jbpm.context.exe.VariableInstance.create(VariableInstance.java:55)
at org.jbpm.db.ContextSession.makePersistable(ContextSession.java:74)
at org.jbpm.db.ContextSession.updateProcessContextVariables(ContextSession.java:98)
at org.jbpm.svc.save.PrepareVariablesOperation.save(PrepareVariablesOperation.java:43)
at org.jbpm.svc.Services.save(Services.java:140)
at org.jbpm.JbpmContext.save(JbpmContext.java:277)
at org.jbpm.JbpmContext.save(JbpmContext.java:284)