Error collecting vcs changes - NumberFormatException

This problem just randomly started popping up on our builds about a week after switching to git/github. I've tried deleting all of the source code folder on the build server to pull a fresh copy for everything, and can't find problem elsewhere on your forums.

java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '...' : Error collecting changes for VCS root '...' java.lang.NumberFormatException: For input string: "5512353 -0400" java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '...' : Error collecting changes for VCS root '...' java.lang.NumberFormatException: For input string: "5512353 -0400"      at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)      at java.util.concurrent.FutureTask.get(Unknown Source)      at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:45)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:25)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:69)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:2)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java)      at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:32)      at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:28)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:83)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:56)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:54)      at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChangesForBuild(BuildChangesCollector.java:17)      at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:5)      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)      at java.util.concurrent.FutureTask.run(Unknown Source)      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)      at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for '...' : Error collecting changes for VCS root '...' java.lang.NumberFormatException: For input string: "5512353 -0400"      at jetbrains.buildServer.vcs.impl.ChangesCollectorResultImpl.rethrowIfOurBuildType(ChangesCollectorResultImpl.java:105)      at jetbrains.buildServer.vcs.impl.ChangesCollectorResultImpl.checkNoProblemsInMyBuildTypes(ChangesCollectorResultImpl.java:77)      at jetbrains.buildServer.vcs.impl.ChangesCollectorResultImpl.checkingForChangesFinished(ChangesCollectorResultImpl.java:82)      at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:32)      at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:19)      ... 5 more Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root '...' java.lang.NumberFormatException: For input string: "5512353 -0400"      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:140)      at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:724)      at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:7)      at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java)      at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java:1)      ... 5 more Caused by: java.lang.NumberFormatException: For input string: "5512353 -0400"      at java.lang.NumberFormatException.forInputString(Unknown Source)      at java.lang.Integer.parseInt(Unknown Source)      at java.lang.Integer.parseInt(Unknown Source)      at org.eclipse.jgit.lib.PersonIdent.<init>(PersonIdent.java:214)      at org.eclipse.jgit.lib.Commit.decode(Commit.java:306)      at org.eclipse.jgit.lib.Commit.getCommitter(Commit.java:232)      at jetbrains.buildServer.buildTriggers.vcs.git.GitServerUtil.makeVersion(GitServerUtil.java:87)      at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.addCommit(GitVcsSupport.java:255)      at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.collectChanges(GitVcsSupport.java:192)      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:236)      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:30)      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForRule(VcsChangesLoader.java:58)      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges4CommonCheckoutRule(VcsChangesLoader.java:141)      at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:76)      ... 9 more

I replaced some info with '...'

1 comment

well, I just detached vcs config and recreated it and now it's working.

0

Please sign in to leave a comment.