java.lang.RuntimeException: No Session found for current thread

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Diego Berrueta Munoz, 1 year ago
No Session found for current thread
via Atlassian JIRA by Diego Berrueta, 1 year ago
No Session found for 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 David Yu, 1 year ago
attempt to unlock read lock, not locked by current thread
via Atlassian JIRA by Pelle Kirkeby, 1 year ago
java.io.IOException: No space left on device
via Atlassian JIRA by Pelle Kirkeby, 1 year ago
java.io.IOException: No space left on device
java.lang.RuntimeException: No Session found for current thread
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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.