org.springframework.transaction.HeuristicCompletionException

Heuristic completion: outcome state is mixed; nested exception is org.springframework.orm.hibernate4.HibernateSystemException: No Session found for current thread; nested exception is org.hibernate.HibernateException: No Session found for current thread

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • Stack trace

    • org.springframework.transaction.HeuristicCompletionException: Heuristic completion: outcome state is mixed; nested exception is org.springframework.orm.hibernate4.HibernateSystemException: No Session found for current thread; nested exception is org.hibernate.HibernateException: No Session found for current thread at org.grails.transaction.ChainedTransactionManager.commit(ChainedTransactionManager.java:174)[ChainedTransactionManager.class:3.0.11] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:150)[TransactionTemplate.class:4.1.8.RELEASE] at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)[GrailsTransactionTemplate.class:3.0.11] at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:822)[GormStaticApi.class:na] at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:722)[GormStaticApi.class:na] at org.grails.datastore.gorm.GormStaticApi$withTransaction$2.call(Unknown Source)[na:na] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[CallSiteArray.class:2.4.5] at org.grails.datastore.gorm.GormStaticApi$withTransaction$2.call(Unknown Source)[na:na] at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:724)[GormEntity$Trait$Helper.class:na] at org.grails.datastore.gorm.GormEntity$Trait$Helper$withTransaction$1.call(Unknown Source)[na:na] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[CallSiteArray.class:2.4.5] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[AbstractCallSite.class:2.4.5] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)[AbstractCallSite.class:2.4.5] at com.the.company.name.directory.Contact.withTransaction(Contact.groovy)[Contact.class:na] at com.the.company.name.directory.Contact$withTransaction$5.call(Unknown Source)[na:na] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[CallSiteArray.class:2.4.5] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[AbstractCallSite.class:2.4.5] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)[AbstractCallSite.class:2.4.5]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,