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 Atlassian JIRA by Diego Berrueta Munoz, 2 years ago
via Atlassian JIRA by Diego Berrueta, 1 year ago
via Atlassian JIRA by David Yu, 1 year ago
attempt to unlock read lock, not locked by current thread
via Atlassian JIRA by David Yu, 1 year ago
attempt to unlock read lock, not locked by current thread
via Atlassian JIRA by Pelle Kirkeby, 1 year ago
via Atlassian JIRA by Pelle Kirkeby, 1 year ago
org.hibernate.HibernateException: No Session found for current thread	at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:97)	at org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:988)	at com.atlassian.crowd.util.persistence.hibernate.HibernateDao.session(HibernateDao.java:183)	at com.atlassian.crowd.dao.token.TokenDAOHibernate.loadAll(TokenDAOHibernate.java:93)	at com.atlassian.crowd.manager.token.SwitchableTokenManagerImpl.move(SwitchableTokenManagerImpl.java:386)	at com.atlassian.crowd.manager.token.SwitchableTokenManagerImpl.switchToMemory(SwitchableTokenManagerImpl.java:337)	at com.atlassian.crowd.manager.token.SwitchableTokenManagerImpl.setUsingDatabaseStorage(SwitchableTokenManagerImpl.java:316)	at com.atlassian.crowd.manager.token.SwitchableTokenManagerImpl.updateTokenStorage(SwitchableTokenManagerImpl.java:419)	at com.atlassian.crowd.manager.token.SwitchableTokenManagerImpl.onApplicationStartedEvent(SwitchableTokenManagerImpl.java:406)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)	at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)	at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)	at com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:106)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1636)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)	at java.util.concurrent.FutureTask.run(FutureTask.java:166)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)