java.lang.ClassCastException: com.tc.object.ObjectID

Terracotta | simong01 | 10 years 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. 0

    Re:EHCache

    Terracotta | 10 years ago | simong01
    java.lang.ClassCastException: com.tc.object.ObjectID

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.tc.object.ObjectID

      at net.sf.ehcache.store.LruMemoryStore$SpoolingLinkedHashMap.removeEldestEntry()
    2. Ehcache
      LruMemoryStore$SpoolingLinkedHashMap.removeEldestEntry
      1. net.sf.ehcache.store.LruMemoryStore$SpoolingLinkedHashMap.removeEldestEntry(LruMemoryStore.java:188)
      1 frame
    3. Java RT
      HashMap.__tc_applicator_put
      1. java.util.LinkedHashMap.addEntry(Unknown Source)
      2. java.util.HashMap.__tc_put(Unknown Source)
      3. java.util.HashMap.__tc_applicator_put(Unknown Source)
      3 frames
    4. com.tc.object
      TCObjectPhysical.resolveReference
      1. com.tc.object.applicator.HashMapApplicator.apply(HashMapApplicator.java:102)
      2. com.tc.object.applicator.LinkedHashMapApplicator.apply(LinkedHashMapApplicator.java:74)
      3. com.tc.object.applicator.LinkedHashMapApplicator.hydrate(LinkedHashMapApplicator.java:55)
      4. com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152)
      5. com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103)
      6. com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:501)
      7. com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:402)
      8. com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:395)
      9. com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:103)
      9 frames
    5. Ehcache
      Cache.getKeys
      1. net.sf.ehcache.store.MemoryStore.__tc_getmap(MemoryStore.java)
      2. net.sf.ehcache.store.MemoryStore.__tc_wrapped_getKeyArray(MemoryStore.java:282)
      3. net.sf.ehcache.store.MemoryStore.getKeyArray(MemoryStore.java)
      4. net.sf.ehcache.Cache.__tc_wrapped_getKeys(Cache.java:731)
      5. net.sf.ehcache.Cache.getKeys(Cache.java)
      5 frames
    6. demo.jtable
      DemoEHCache.main
      1. demo.jtable.DemoEHCache.showCache(DemoEHCache.java:54)
      2. demo.jtable.DemoEHCache.askForUserInput(DemoEHCache.java:80)
      3. demo.jtable.DemoEHCache.main(DemoEHCache.java:89)
      3 frames