java.lang.Throwable: Stack of non-terminating thread.


Solutions on the web

Solution icon of terracotta
via Terracotta by jvogt, 1 year ago
Stack of non-terminating thread.

Solution icon of github
Lock owned during cleanup: pool-92-thread-1

Stack trace

java.lang.Throwable: Stack of non-terminating thread.
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:485)
	at com.tc.object.lockmanager.impl.ClientLock.waitForLock(ClientLock.java:569)
	at com.tc.object.lockmanager.impl.ClientLock.basicLock(ClientLock.java:193)
	at com.tc.object.lockmanager.impl.ClientLock.lock(ClientLock.java:100)
	at com.tc.object.lockmanager.impl.ClientLock.lock(ClientLock.java:90)
	at com.tc.object.lockmanager.impl.ClientLockManagerImpl.lock(ClientLockManagerImpl.java:241)
	at com.tc.object.lockmanager.impl.ThreadLockManagerImpl.lock(ThreadLockManagerImpl.java:46)
	at com.tc.object.tx.ClientTransactionManagerImpl.begin(ClientTransactionManagerImpl.java:181)
	at com.tc.object.bytecode.ManagerImpl.begin(ManagerImpl.java:310)
	at com.tc.object.bytecode.ManagerImpl.beginLock(ManagerImpl.java:297)
	at com.tc.object.bytecode.ManagerUtil.beginLock(ManagerUtil.java:200)
	at net.sf.ehcache.CacheManager.__tc_setALL_CACHE_MANAGERS(CacheManager.java)
	at net.sf.ehcache.CacheManager.<clinit>(CacheManager.java:66)
	at net.sf.ehcache.hibernate.SingletonEhCacheProvider.start(SingletonEhCacheProvider.java:123)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:183)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
	at com.perpetualent.util.hibernate.HibernateSessionFactory.getSessionFactory(HibernateSessionFactory.java:67)
	at com.perpetualent.util.hibernate.HibernateSessionFactory.openSession(HibernateSessionFactory.java:87)
	at com.perpetualent.util.hibernate.HibernateSessionFactory.getSession(HibernateSessionFactory.java:50)
	at com.perpetualent.util.accessor.TransactionFactory.createTransaction(TransactionFactory.java:80)
	at com.perpetualent.util.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:57)
	at com.perpetualent.util.interceptor.InterceptorContext.invoke(InterceptorContext.java:52)
	at com.perpetualent.util.interceptor.InterceptProxyHandler.invoke(InterceptProxyHandler.java:39)
	at $Proxy10.getFeatureIds(Unknown Source)
	at com.perpetualent.loadtest.driver.ContactsServiceDriver.loadTestData(ContactsServiceDriver.java:228)
	at com.perpetualent.loadtest.driver.ContactsServiceDriver.<init>(ContactsServiceDriver.java:158)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at com.sun.faban.driver.core.TimeThread.doRun(TimeThread.java:75)
	at com.sun.faban.driver.core.AgentThread.run(AgentThread.java:195)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.