org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Uncaught exception in get() - org.hibernate.cache.CacheKey.(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;Lorg/hibernate/EntityMode;Lorg/hibernate/engine/SessionFactoryImplementor;)V

Terracotta | Niteesh | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to check whether object is removed after 'timeToLiveSeconds'.

    Terracotta | 4 years ago | Niteesh
    org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Uncaught exception in get() - org.hibernate.cache.CacheKey.(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;Lorg/hibernate/EntityMode;Lorg/hibernate/engine/SessionFactoryImplementor;)V

    Root Cause Analysis

    1. org.hibernate.cache.CacheException

      net.sf.ehcache.CacheException: Uncaught exception in get() - org.hibernate.cache.CacheKey.(Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;Lorg/hibernate/EntityMode;Lorg/hibernate/engine/SessionFactoryImplementor;)V

      at org.hibernate.cache.EhCache.get()
    2. Hibernate
      NonstrictReadWriteCache.get
      1. org.hibernate.cache.EhCache.get(EhCache.java:123)
      2. org.hibernate.cache.NonstrictReadWriteCache.get(NonstrictReadWriteCache.java:41)
      2 frames
    3. Hibernate
      SessionImpl.immediateLoad
      1. org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:469)
      2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:350)
      3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:166)
      4. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:140)
      5. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:119)
      6. org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:571)
      6 frames
    4. Hibernate
      CGLIBLazyInitializer.intercept
      1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:59)
      2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:80)
      3. org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133)
      3 frames