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 Terracotta by Gleb, 1 year ago
net.sf.ehcache.store.TimeExpiryMemoryStore cannot be cast to net.sf.ehcache.store.TimeExpi ryMemoryStore
via Terracotta by koholma, 1 year ago
net.sf.ehcache.store.TimeExpiryMemoryStore
java.lang.ClassCastException: net.sf.ehcache.store.TimeExpiryMemoryStore cannot be cast to net.sf.ehcache.store.TimeExpi
ryMemoryStore	at net.sf.ehcache.Cache.__tc_setfield(CacheTC.java)	at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:139)	at net.sf.ehcache.Cache.__tc_getmemoryStore(CacheTC.java)	at net.sf.ehcache.Cache.searchInMemoryStore(CacheTC.java:871)	at net.sf.ehcache.Cache.get(CacheTC.java:734)	at org.hibernate.cache.EhCache.get(EhCache.java:74)	at org.hibernate.cache.ReadWriteCache.get(ReadWriteCache.java:80)	at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:490)	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:357)	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)	at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:557)	at org.hibernate.type.EntityType.resolve(EntityType.java:379)	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:120)	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)	at org.hibernate.loader.Loader.doQuery(Loader.java:729)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)	at org.hibernate.loader.Loader.doList(Loader.java:2213)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)	at org.hibernate.loader.Loader.list(Loader.java:2099)	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)	at com.tioti.dao.HibernateShowDao$9.doInHibernate(HibernateShowDao.java:532)	at com.tioti.dao.HibernateShowDao$9.doInHibernate(HibernateShowDao.java:529)	at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:369)	at org.springframework.orm.hibernate3.HibernateTemplate.executeFind(HibernateTemplate.java:339)	at com.tioti.dao.HibernateShowDao.findShowAliases(HibernateShowDao.java:529)	at com.tioti.adapter.service.AdapterService.findShowAliases(AdapterService.java:393)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)	at undefined.$Proxy119.findShowAliases(Unknown Source)	at com.tioti.adapter.linksparser.creater.BaseLinksParserCreater.fullShowAliasesMap(BaseLinksParserCreater.java:249)	at com.tioti.adapter.linksparser.creater.BaseLinksParserCreater.updateLinks(BaseLinksParserCreater.java:85)	at com.tioti.adapter.linksparser.LinksParserRunner$3.run(LinksParserRunner.java:114)