org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via runawfe by gritsenko_s
, 1 year ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
via cweize.com by Unknown author, 1 year ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
via hibernate.org by Unknown author, 1 year ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
via Sakai JIRA by Earle R Nietzel, 1 year ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
via Stack Overflow by Steve Eastwood
, 2 years ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
via Coderanch by Ray Clark, 10 months ago
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
at ru.runa.wfe.commons.ApplicationContextFactory.getCurrentSession(ApplicationContextFactory.java:75)
at ru.runa.wfe.user.cache.ExecutorCacheImpl.getAll(ExecutorCacheImpl.java:297)
at ru.runa.wfe.user.cache.ExecutorCacheImpl.getAllExecutors(ExecutorCacheImpl.java:307)
at ru.runa.wfe.user.cache.ExecutorCacheImpl.(ExecutorCacheImpl.java:75)
at ru.runa.wfe.user.cache.ExecutorCacheCtrl.buildCache(ExecutorCacheCtrl.java:50)
at ru.runa.wfe.user.cache.ExecutorCacheCtrl.buildCache(ExecutorCacheCtrl.java:36)
at ru.runa.wfe.commons.cache.CachingLogic.getCacheImpl(CachingLogic.java:225)
at ru.runa.wfe.user.cache.ExecutorCacheCtrl.getActor(ExecutorCacheCtrl.java:110)
at ru.runa.wfe.user.dao.ExecutorDAO.getExecutorsFromCache(ExecutorDAO.java:806)
at ru.runa.wfe.user.dao.ExecutorDAO.getExecutors(ExecutorDAO.java:762)
at ru.runa.wfe.user.dao.ExecutorDAO.getActorsByCodes(ExecutorDAO.java:252)
at ru.runa.wfe.extension.orgfunction.GetActorsOrgFunctionBase.getExecutors(GetActorsOrgFunctionBase.java:38)
at ru.runa.wfe.extension.orgfunction.OrgFunctionHelper.evaluateOrgFunction(OrgFunctionHelper.java:83)
at ru.runa.wf.logic.bot.UpdatePermissionsTaskHandler.evaluateOrgFunctions(UpdatePermissionsTaskHandler.java:82)
at ru.runa.wf.logic.bot.UpdatePermissionsTaskHandler.handle(UpdatePermissionsTaskHandler.java:65)
at ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.doHandle(WorkflowBotTaskExecutor.java:153)
at ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.run(WorkflowBotTaskExecutor.java:187)

Users with the same issue

Once, 6 months ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.