Hello,
I have just come upon the following error when running a (rather large) BPM script:
Caused by: java.lang.StackOverflowError
at org.activiti.engine.impl.context.Context.getProcessEngineConfiguration(Context.java:56) [activiti-engine-5.14.jar:5.14]
at org.activiti.engine.impl.history.HistoryManager.recordActivityStart(HistoryManager.java:189) [activiti-engine-5.14.jar:5.14]
at org.activiti.engine.impl.history.handler.ActivityInstanceStartHandler.notify(ActivityInstanceStartHandler.java:30) [activiti-engine-5.14.jar:5.14]
at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:42) [activiti-engine-5.14.jar:5.14]
Do you have any idea what met be causing this error ? An issue in my script or an Activiti configuration issue (the issue seems to arise in a ThreadLocal stack read operation, this may be suspicious).
Thanks,
Tom