java.lang.ClassCastException: org.terracotta.modules.hibernatecache.sra.HibernateCollectionsGlobalSRA cannot be cast to org.terracotta.modules.hibernatecache.sra.HibernateGeneralSRA

Terracotta Project Issue Tracker | Tim Eck | 8 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
  2. 0

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.terracotta.modules.hibernatecache.sra.HibernateCollectionsGlobalSRA cannot be cast to org.terracotta.modules.hibernatecache.sra.HibernateGeneralSRA

      at org.terracotta.modules.hibernatecache.jmx.HibernateStatsBean.registerHibernateStatisticsWithSRA()
    2. org.terracotta.modules
      HibernateStatisticsRegistration.register
      1. org.terracotta.modules.hibernatecache.jmx.HibernateStatsBean.registerHibernateStatisticsWithSRA(HibernateStatsBean.java:68)
      2. org.terracotta.modules.hibernatecache.jmx.HibernateStatsBean.<init>(HibernateStatsBean.java:44)
      3. org.terracotta.modules.hibernatecache.instrumentation.HibernateStatisticsRegistration.register(HibernateStatisticsRegistration.java:46)
      3 frames
    3. Hibernate
      StatisticsImpl.<init>
      1. org.hibernate.stat.StatisticsImpl.<init>(TerracottaStatisticsImpl.java:42)
      1 frame
    4. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:169)
      1 frame
    5. Hibernate
      AnnotationConfiguration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
      2. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
      2 frames
    6. Hibernate
      LocalSessionFactoryBean.newSessionFactory
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
      1 frame