java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.Properties

Hibernate JIRA | hanjie | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashMap cannot be cast to java.util.Properties

      at org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper$RegisterMBeansTask.locateSessionFactory()
    2. A Hibernate O/RM Module
      ProviderMBeanRegistrationHelper$RegisterMBeansTask.run
      1. org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper$RegisterMBeansTask.locateSessionFactory(ProviderMBeanRegistrationHelper.java:142)
      2. org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper$RegisterMBeansTask.run(ProviderMBeanRegistrationHelper.java:101)
      2 frames
    3. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:555)
      2. java.util.TimerThread.run(Timer.java:505)
      2 frames