org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:message>: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at /WEB-INF/grails-app/views/layouts/htmlheader.gsp:6

Atlassian JIRA | Jacek Jaroczynski [Atlassian] Bugmaster | 3 years ago
  1. 0

    {code} [130688884] errors.GrailsExceptionResolver Exception occurred when processing request: [HEAD] / Stacktrace follows: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:message>: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at /WEB-INF/grails-app/views/layouts/htmlheader.gsp:6 at gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:22) at gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy) at gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:24) at gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy) at gsp_translate_layoutshtmlheader_gsp.run(gsp_translate_layoutshtmlheader_gsp.groovy:31) at com.studentsonly.grails.plugins.uiperformance.CacheFilter.doFilter(CacheFilter.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at translate.CustomMessageSource.resolveCodeWithoutArguments(CustomMessageSource.groovy:56) ... 9 more {code}

    Atlassian JIRA | 3 years ago | Jacek Jaroczynski [Atlassian] Bugmaster
    org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:message>: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at /WEB-INF/grails-app/views/layouts/htmlheader.gsp:6
  2. 0

    {code} [130688884] errors.GrailsExceptionResolver Exception occurred when processing request: [HEAD] / Stacktrace follows: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:message>: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at /WEB-INF/grails-app/views/layouts/htmlheader.gsp:6 at gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:22) at gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy) at gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:24) at gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy) at gsp_translate_layoutshtmlheader_gsp.run(gsp_translate_layoutshtmlheader_gsp.groovy:31) at com.studentsonly.grails.plugins.uiperformance.CacheFilter.doFilter(CacheFilter.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at translate.CustomMessageSource.resolveCodeWithoutArguments(CustomMessageSource.groovy:56) ... 9 more {code}

    Atlassian JIRA | 3 years ago | Jacek Jaroczynski [Atlassian] Bugmaster
    org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:message>: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here at /WEB-INF/grails-app/views/layouts/htmlheader.gsp:6
  3. 0

    Setup database for Unit tests with Spring, Hibernate and Spring Transaction Support

    Stack Overflow | 5 years ago | mibutec
    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

    SpringMVC3 Hibernate CRUD Sample Application - SivaLabs

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

    org.hibernate.HibernateException: No Hibernate Session bound to thread

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

    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 translate.CustomMessageSource.resolveCodeWithoutArguments()
    2. translate
      CustomMessageSource.resolveCodeWithoutArguments
      1. translate.CustomMessageSource.resolveCodeWithoutArguments(CustomMessageSource.groovy:56)
      1 frame
    3. Unknown
      gsp_translate_layoutshtmlheader_gsp.run
      1. gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:22)
      2. gsp_translate_layoutshtmlheader_gsp$_run_closure1_closure3.doCall(gsp_translate_layoutshtmlheader_gsp.groovy)
      3. gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy:24)
      4. gsp_translate_layoutshtmlheader_gsp$_run_closure1.doCall(gsp_translate_layoutshtmlheader_gsp.groovy)
      5. gsp_translate_layoutshtmlheader_gsp.run(gsp_translate_layoutshtmlheader_gsp.groovy:31)
      5 frames
    4. com.studentsonly.grails
      CacheFilter.doFilter
      1. com.studentsonly.grails.plugins.uiperformance.CacheFilter.doFilter(CacheFilter.java:67)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames