java.lang.IllegalArgumentException: timeToLive can't be negative

Terracotta Project Issue Tracker | Alex Miller | 8 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.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      timeToLive can't be negative

      at net.sf.ehcache.Element.setTimeToLive()
    2. Ehcache
      CacheTest.testMaxLongTTLIsEternal
      1. net.sf.ehcache.Element.setTimeToLive(Element.java:313)
      2. net.sf.ehcache.Cache.applyDefaultsToElementWithoutLifespanSet(Cache.java:903)
      3. net.sf.ehcache.Cache.put(Cache.java:867)
      4. net.sf.ehcache.Cache.put(Cache.java:807)
      5. net.sf.ehcache.CacheTest.testMaxLongTTLIsEternal(CacheTest.java:2689)
      5 frames