java.lang.IllegalArgumentException: you can only subtract an earlier date from a later one... negative durations don't make sense

The OpenNMS Issue Tracker | Dustin Frisch | 1 year 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

      you can only subtract an earlier date from a later one... negative durations don't make sense

      at org.opennms.newts.api.Timestamp.minus()
    2. New Timeseries Datastore :: API
      Timestamp.minus
      1. org.opennms.newts.api.Timestamp.minus(Timestamp.java:77)[newts-api-1.3.3-SNAPSHOT.jar:?]
      1 frame
    3. New Timeseries Datastore :: Cassandra :: Storage
      CassandraSampleRepository.insert
      1. org.opennms.newts.persistence.cassandra.CassandraSampleRepository.insert(CassandraSampleRepository.java:245)[newts-cassandra-1.3.3-SNAPSHOT.jar:?]
      1 frame