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

apache.org | 2 months ago
  1. 0

    Apache REEF - Tang

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

    Negative time from JSP compiler

    Stack Overflow | 5 years ago
    java.lang.IllegalArgumentException: Negative time
  3. 0

    1) have remote workspace on linux which generates a big video file (12GB) 2) have a master on windows which should archive this file during archiving the following exception is raised Archiving artifacts ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(Unknown Source) at hudson.FilePath.readFromTar(FilePath.java:2103) at hudson.FilePath.copyRecursiveTo(FilePath.java:2023) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:217) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1770) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) 3) job fails with error and video file doesn't get archived Note: files up to 7GB are working fine

    Jenkins JIRA | 2 years ago | robsimon
    java.lang.IllegalArgumentException: Negative time
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    sy down breaks for file created in 1965

    GitHub | 2 years ago | Kudret
    java.lang.IllegalArgumentException: Negative time
  6. 0

    When configure a project / plan with Subversion repository, if the OS locale setting on the machine is set to *Thai* (which uses Buddhist Calendar), the exception will be thrown as negative time. Changing the locale to English does eliminate the exception. Note: Buddhist Calendar Year = Gregorian Calendar Year + 543 Stack Trace: {code} com.atlassian.bamboo.repository.RepositoryException: Failed to get source code at com.atlassian.bamboo.repository.svn.SvnRepository.getAllSourceCode(SvnRepository.java:379) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.getCleanBuild(DefaultBuildChangeDetector.java:256) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:171) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.bamboo.repository.RepositoryException: Failed to get source code at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:579) at com.atlassian.bamboo.repository.svn.SvnRepository.getAllSourceCode(SvnRepository.java:373) ... 5 more Caused by: org.tmatesoft.svn.core.SVNException: svn: Negative time at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:313) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:206) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.read(SVNRepositoryImpl.java:1002) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:568) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:322) at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:573) ... 6 more Caused by: java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(Unknown Source) at org.tmatesoft.svn.core.internal.wc.admin.SVNLogRunner.runCommand(SVNLogRunner.java:195) at org.tmatesoft.svn.core.internal.wc.admin.SVNLog.run(SVNLog.java:179) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea.runLogs(SVNAdminArea.java:699) at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor$SVNDirectoryInfo.runLogs(SVNUpdateEditor.java:825) at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeDir(SVNUpdateEditor.java:322) at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeDir(SVNCancellableEditor.java:98) at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.processCommand(SVNEditModeReader.java:92) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:306) ... 12 more {code}

    Atlassian JIRA | 10 years ago | Vairoj Arunyaangkul
    com.atlassian.bamboo.repository.RepositoryException: Failed to get source code

    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

      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