org.apache.reef.tang.exceptions.InjectionException: Could not invoke constructor: new Timer(Integer Seconds = -1)

apache.org | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Apache REEF - Tang

    apache.org | 7 months ago
    org.apache.reef.tang.exceptions.InjectionException: Could not invoke constructor: new Timer(Integer Seconds = -1)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot sleep for negative time!

      at org.apache.reef.tang.examples.Timer.<init>()
    2. org.apache.reef
      Timer.<init>
      1. org.apache.reef.tang.examples.Timer.<init>(Timer.java:25)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    4. org.apache.reef
      Timer.main
      1. org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:569)
      2. org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:449)
      3. org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:466)
      4. org.apache.reef.tang.examples.Timer.main(Timer.java:48)
      4 frames