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

runawfe | gritsenko_s | 3 years ago
  1. 0

    bot subsystem & cache subsystem interaction problem

    runawfe | 3 years ago | gritsenko_s
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  2. 0

    Spring security No Hibernate Session bound to thread

    Stack Overflow | 5 years ago | Junaidaj
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  3. 0

    hibernateFilter when I use @Transactional. It is necessarily?

    Stack Overflow | 3 years ago | gstackoverflow
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate and Spring MVC. Transaction not working

    Stack Overflow | 2 years ago | dejmien25
    org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
  6. 0

    No bean named ... is defined - Spring Forum

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

  1. mortalman7 3 times, last 4 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.HibernateException

    No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

    at org.springframework.orm.hibernate3.SpringSessionContext.currentSession()
  2. Hibernate
    SpringSessionContext.currentSession
    1. org.springframework.orm.hibernate3.SpringSessionContext.currentSession(SpringSessionContext.java:63)
    1 frame
  3. Hibernate
    SessionFactoryImpl.getCurrentSession
    1. org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:544)
    1 frame
  4. ru.runa.wfe
    OrgFunctionHelper.evaluateOrgFunction
    1. ru.runa.wfe.commons.ApplicationContextFactory.getCurrentSession(ApplicationContextFactory.java:75)
    2. ru.runa.wfe.user.cache.ExecutorCacheImpl.getAll(ExecutorCacheImpl.java:297)
    3. ru.runa.wfe.user.cache.ExecutorCacheImpl.getAllExecutors(ExecutorCacheImpl.java:307)
    4. ru.runa.wfe.user.cache.ExecutorCacheImpl.<init>(ExecutorCacheImpl.java:75)
    5. ru.runa.wfe.user.cache.ExecutorCacheCtrl.buildCache(ExecutorCacheCtrl.java:50)
    6. ru.runa.wfe.user.cache.ExecutorCacheCtrl.buildCache(ExecutorCacheCtrl.java:36)
    7. ru.runa.wfe.commons.cache.CachingLogic.getCacheImpl(CachingLogic.java:225)
    8. ru.runa.wfe.user.cache.ExecutorCacheCtrl.getActor(ExecutorCacheCtrl.java:110)
    9. ru.runa.wfe.user.dao.ExecutorDAO.getExecutorsFromCache(ExecutorDAO.java:806)
    10. ru.runa.wfe.user.dao.ExecutorDAO.getExecutors(ExecutorDAO.java:762)
    11. ru.runa.wfe.user.dao.ExecutorDAO.getActorsByCodes(ExecutorDAO.java:252)
    12. ru.runa.wfe.extension.orgfunction.GetActorsOrgFunctionBase.getExecutors(GetActorsOrgFunctionBase.java:38)
    13. ru.runa.wfe.extension.orgfunction.OrgFunctionHelper.evaluateOrgFunction(OrgFunctionHelper.java:83)
    13 frames
  5. ru.runa.wf
    WorkflowBotTaskExecutor.run
    1. ru.runa.wf.logic.bot.UpdatePermissionsTaskHandler.evaluateOrgFunctions(UpdatePermissionsTaskHandler.java:82)
    2. ru.runa.wf.logic.bot.UpdatePermissionsTaskHandler.handle(UpdatePermissionsTaskHandler.java:65)
    3. ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.doHandle(WorkflowBotTaskExecutor.java:153)
    4. ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.run(WorkflowBotTaskExecutor.java:187)
    4 frames
  6. Java RT
    Executors$RunnableAdapter.call
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    1 frame