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 GitHub by mmzen
, 1 year ago
Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
org.springframework.dao.DataAccessResourceFailureException: Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread	at grails.plugin.springsecurity.oauthprovider.GormClientDetailsService.loadClientByClientId(GormClientDetailsService.groovy:25)	at grails.plugin.springsecurity.oauthprovider.provider.GrailsOAuth2RequestFactory.extractScopes(GrailsOAuth2RequestFactory.java:102)	at grails.plugin.springsecurity.oauthprovider.provider.GrailsOAuth2RequestFactory.createAuthorizationRequest(GrailsOAuth2RequestFactory.java:60)	at grails.plugin.springsecurity.oauthprovider.endpoint.WrappedAuthorizationEndpoint.authorize(WrappedAuthorizationEndpoint.java:20)	at grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter.doFilter(UpdateRequestContextHolderExceptionTranslationFilter.groovy:64)	at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)	at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)	at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)