java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re:EHCache
    via by simong01,
    • java.lang.ClassCastException: com.tc.object.ObjectID at net.sf.ehcache.store.LruMemoryStore$SpoolingLinkedHashMap.removeEldestEntry(LruMemoryStore.java:188) at java.util.LinkedHashMap.addEntry(Unknown Source) at java.util.HashMap.__tc_put(Unknown Source) at java.util.HashMap.__tc_applicator_put(Unknown Source) at com.tc.object.applicator.HashMapApplicator.apply(HashMapApplicator.java:102) at com.tc.object.applicator.LinkedHashMapApplicator.apply(LinkedHashMapApplicator.java:74) at com.tc.object.applicator.LinkedHashMapApplicator.hydrate(LinkedHashMapApplicator.java:55) at com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152) at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103) at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:501) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:402) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:395) at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:103) at net.sf.ehcache.store.MemoryStore.__tc_getmap(MemoryStore.java) at net.sf.ehcache.store.MemoryStore.__tc_wrapped_getKeyArray(MemoryStore.java:282) at net.sf.ehcache.store.MemoryStore.getKeyArray(MemoryStore.java) at net.sf.ehcache.Cache.__tc_wrapped_getKeys(Cache.java:731) at net.sf.ehcache.Cache.getKeys(Cache.java) at demo.jtable.DemoEHCache.showCache(DemoEHCache.java:54) at demo.jtable.DemoEHCache.askForUserInput(DemoEHCache.java:80) at demo.jtable.DemoEHCache.main(DemoEHCache.java:89)
    No Bugmate found.