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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    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