java.lang.ClassCastException

Hibernate JIRA | Jeff Fletcher | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Query Level 2 Caching throwing ClassCastException

    Stack Overflow | 7 years ago | Sameer Malhotra
    java.lang.ClassCastException: org.hibernate.cache.QueryKey incompatible with org.hibernate.cache.CacheKey

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at org.hibernate.stat.SecondLevelCacheStatistics.getEntries()
    2. Hibernate
      SecondLevelCacheStatistics.getEntries
      1. org.hibernate.stat.SecondLevelCacheStatistics.getEntries(SecondLevelCacheStatistics.java:50)
      1 frame
    3. net.voicelog.callRecording
      AdminSessionBean.getAuditMessage
      1. net.voicelog.callRecording.ejb.AdminSessionBean.getAuditMessage(AdminSessionBean.java:104)
      1 frame