java.lang.ClassCastException: net.sf.ehcache.store.TimeExpiryMemoryStore cannot be cast to net.sf.ehcache.store.TimeExpi ryMemoryStore

Terracotta | Gleb | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Strange ClassCastException

    Terracotta | 9 years ago | Gleb
    java.lang.ClassCastException: net.sf.ehcache.store.TimeExpiryMemoryStore cannot be cast to net.sf.ehcache.store.TimeExpi ryMemoryStore
  2. 0

    Re:Applications with different names

    Terracotta | 9 years ago | koholma
    java.lang.ClassCastException: net.sf.ehcache.store.TimeExpiryMemoryStore

    Root Cause Analysis

    1. 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()
    2. Ehcache
      Cache.__tc_setfield
      1. net.sf.ehcache.Cache.__tc_setfield(CacheTC.java)
      1 frame
    3. com.tc.object
      TCObjectPhysical.resolveReference
      1. com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:139)
      1 frame
    4. Ehcache
      Cache.get
      1. net.sf.ehcache.Cache.__tc_getmemoryStore(CacheTC.java)
      2. net.sf.ehcache.Cache.searchInMemoryStore(CacheTC.java:871)
      3. net.sf.ehcache.Cache.get(CacheTC.java:734)
      3 frames
    5. Hibernate
      ReadWriteCache.get
      1. org.hibernate.cache.EhCache.get(EhCache.java:74)
      2. org.hibernate.cache.ReadWriteCache.get(ReadWriteCache.java:80)
      2 frames
    6. Hibernate
      SessionImpl.internalLoad
      1. org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:490)
      2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:357)
      3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
      4. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
      5. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
      6. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
      7. org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
      7 frames
    7. Hibernate
      QueryLoader.list
      1. org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:557)
      2. org.hibernate.type.EntityType.resolve(EntityType.java:379)
      3. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:120)
      4. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
      5. org.hibernate.loader.Loader.doQuery(Loader.java:729)
      6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      7. org.hibernate.loader.Loader.doList(Loader.java:2213)
      8. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
      9. org.hibernate.loader.Loader.list(Loader.java:2099)
      10. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
      10 frames
    8. Hibernate HQL/JP-QL Parser
      QueryTranslatorImpl.list
      1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
      1 frame
    9. Hibernate
      QueryImpl.list
      1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
      2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
      3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      3 frames
    10. com.tioti.dao
      HibernateShowDao$9.doInHibernate
      1. com.tioti.dao.HibernateShowDao$9.doInHibernate(HibernateShowDao.java:532)
      2. com.tioti.dao.HibernateShowDao$9.doInHibernate(HibernateShowDao.java:529)
      2 frames
    11. Hibernate
      HibernateTemplate.executeFind
      1. org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:369)
      2. org.springframework.orm.hibernate3.HibernateTemplate.executeFind(HibernateTemplate.java:339)
      2 frames
    12. com.tioti.dao
      HibernateShowDao.findShowAliases
      1. com.tioti.dao.HibernateShowDao.findShowAliases(HibernateShowDao.java:529)
      1 frame
    13. com.tioti.adapter
      AdapterService.findShowAliases
      1. com.tioti.adapter.service.AdapterService.findShowAliases(AdapterService.java:393)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
      3 frames
    16. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      1 frame
    17. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
      2 frames
    18. Unknown
      $Proxy119.findShowAliases
      1. $Proxy119.findShowAliases(Unknown Source)
      1 frame
    19. com.tioti.adapter
      LinksParserRunner$3.run
      1. com.tioti.adapter.linksparser.creater.BaseLinksParserCreater.fullShowAliasesMap(BaseLinksParserCreater.java:249)
      2. com.tioti.adapter.linksparser.creater.BaseLinksParserCreater.updateLinks(BaseLinksParserCreater.java:85)
      3. com.tioti.adapter.linksparser.LinksParserRunner$3.run(LinksParserRunner.java:114)
      3 frames