java.lang.ClassCastException: java.lang.Class cannot be cast to com.tc.object.bytecode.Manageable

Terracotta | anodos | 10 years ago
  1. 0

    ClassCastException when putting a Class key into a ConcurrentHashMap

    Terracotta | 10 years ago | anodos
    java.lang.ClassCastException: java.lang.Class cannot be cast to com.tc.object.bytecode.Manageable
  2. 0

    Terracotta Project Issue Tracker

    terracotta.org | 8 months ago
    java.lang.ClassCastException: java.lang.Class
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    When you have no build parameters, uncheck 'This build is parameterized'

    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

      java.lang.Class cannot be cast to com.tc.object.bytecode.Manageable

      at com.tc.object.bytecode.ManagerImpl.shareObjectIfNecessary()
    2. com.tc.object
      ManagerUtil.shareObjectIfNecessary
      1. com.tc.object.bytecode.ManagerImpl.shareObjectIfNecessary(ManagerImpl.java:548)
      2. com.tc.object.bytecode.ManagerUtil.shareObjectIfNecessary(ManagerUtil.java:132)
      2 frames
    3. Java RT
      ConcurrentHashMap.put
      1. java.util.concurrent.ConcurrentHashMap.__tc_hash(ConcurrentHashMap.java)
      2. java.util.concurrent.ConcurrentHashMap.__tc_hash(ConcurrentHashMap.java)
      3. java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:880)
      3 frames