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

Terracotta Project Issue Tracker | Alex Miller | 7 years ago
  1. 0

    error when using setup-adminweb

    ejbca | 1 decade ago | *anonymous
    java.lang.IllegalArgumentException: timeout can't be negative
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    -1 (negative) timeout for http/https causes exception on jre6

    Eclipse Bugzilla | 4 years ago | jpyeron
    java.lang.IllegalArgumentException: timeouts can't be negative

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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