java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Negative time error
    via areca by nobody
    ,
  • 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}
    via by Vairoj Arunyaangkul,
  • 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}
    via by Vairoj Arunyaangkul,
    • 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)
    No Bugmate found.