java.lang.UnsupportedOperationException

ElementData represents the Element, but w/o the key. To get to the element, call createElement(Object): Element

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1563

  • via Terracotta Project Issue Tracker by Himadri Singh, 1 year ago
    ElementData represents the Element, but w/o the key. To get to the element, call createElement(Object): Element
  • via Terracotta Project Issue Tracker by Himadri Singh, 1 year ago
    ElementData represents the Element, but w/o the key. To get to the element, call createElement(Object): Element
  • via Google Groups by wolfpack9377, 1 year ago
    Unable to hover over element
  • Stack trace

    • java.lang.UnsupportedOperationException: ElementData represents the Element, but w/o the key. To get to the element, call createElement(Object): Element at net.sf.ehcache.AbstractElementData.getValue(AbstractElementData.java:58) at net.sf.ehcache.AbstractElementData.getValue(AbstractElementData.java:13) at org.terracotta.cache.value.AbstractStatelessTimestampedValue.hashCode(AbstractStatelessTimestampedValue.java:153) at org.terracotta.cache.evictor.TargetCapacityEvictor$DetachedEntry.hashCode(TargetCapacityEvictor.java:280) at java.util.HashMap.__tc_put(Unknown Source) at java.util.HashMap.put(Unknown Source) at java.util.HashSet.__tc_add(HashSet.java:200) at java.util.HashSet.add(HashSet.java) at org.terracotta.cache.evictor.TargetCapacityEvictor.evictLocalElement(TargetCapacityEvictor.java:111) at org.terracotta.cache.evictor.TargetCapacityEvictor.evictLocalElements(TargetCapacityEvictor.java:65) at org.terracotta.cache.evictor.TargetCapacityMapSizeListener.localSizeChanged(TargetCapacityMapSizeListener.java:55) at org.terracotta.collections.ConcurrentDistributedMapDso.localSizeIncrement(ConcurrentDistributedMapDso.java:1206) at org.terracotta.collections.ConcurrentDistributedMapDso.putNoReturn(ConcurrentDistributedMapDso.java:280) at org.terracotta.collections.ConcurrentDistributedMapDsoArray.putNoReturn(ConcurrentDistributedMapDsoArray.java:117) at org.terracotta.collections.ConcurrentDistributedMap.putNoReturn(ConcurrentDistributedMap.java:189) at org.terracotta.cache.impl.DistributedCacheImpl.putNoReturn(DistributedCacheImpl.java:363) at org.terracotta.modules.ehcache.store.ClusteredStore.put(ClusteredStore.java:96) at net.sf.ehcache.Cache.put(Cache.java:876) at net.sf.ehcache.Cache.put(Cache.java:811)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.