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

Terracotta Project Issue Tracker | Alex Miller | 8 years ago
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
      1. net.sf.ehcache.Element.setTimeToLive(
      2. net.sf.ehcache.Cache.applyDefaultsToElementWithoutLifespanSet(
      3. net.sf.ehcache.Cache.put(
      4. net.sf.ehcache.Cache.put(
      5. net.sf.ehcache.CacheTest.testMaxLongTTLIsEternal(
      5 frames