It's all about the answers!

Ask a question

Build problem with negative time on repository file


Sebastian Ertel (11) | asked Apr 01 '09, 11:31 a.m.
Hi,

I have a problem with one of our build engines/build definitions. Every time a regression is being scheduled the following error occurs during the fetching of the files into the destination where the build is supposed to be performed:

2009-04-01 10:51:04 Should build occur?
2009-04-01 10:51:04 Yes: Always build a user initiated request.
2009-04-01 10:51:04 Invoking pre-build participant "com.ibm.team.build.jazzscm"
Accepting changes into workspace "<my>" ...
Deleting fetch destination "<destination>" before fetching ...
Fetching files to fetch destination "<destination>" ...
java.lang.IllegalArgumentException: Negative time
at java.io.File.setLastModified(File.java:1260)
at com.ibm.team.filesystem.client.internal.load.LocalFileSystemMergeLoadMutator.createNewFile(LocalFileSystemMergeLoadMutator.java:91)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:490)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:727)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.doLoad(LoadOperation.java:434)
at com.ibm.team.filesystem.client.internal.operations.LocalFileSystemLoadOperation.execute(LocalFileSystemLoadOperation.java:97)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:279)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:152)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:574)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:430)
at java.lang.Thread.run(Thread.java:810)

The flag to accept all incoming changes before doing the build has been turned on in the build definition.

I already loaded the repository workspace into an eclipse workspace and tried to accept all incoming change sets, but there appear to be none. So the workspace seems to be up-to-date. Switching the build to use another repository workspace does not work either. The same problem occurs.

Do you have any idea on how to solve this problem?

Thanks,
Sebastian

One answer



permanent link
Amir Bar-or (1513026) | answered Apr 02 '09, 9:09 p.m.
I added a defect on this : https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=77201


Hi,

I have a problem with one of our build engines/build definitions. Every time a regression is being scheduled the following error occurs during the fetching of the files into the destination where the build is supposed to be performed:

2009-04-01 10:51:04 Should build occur?
2009-04-01 10:51:04 Yes: Always build a user initiated request.
2009-04-01 10:51:04 Invoking pre-build participant "com.ibm.team.build.jazzscm"
Accepting changes into workspace "<my>" ...
Deleting fetch destination "<destination>" before fetching ...
Fetching files to fetch destination "<destination>" ...
java.lang.IllegalArgumentException: Negative time
at java.io.File.setLastModified(File.java:1260)
at com.ibm.team.filesystem.client.internal.load.LocalFileSystemMergeLoadMutator.createNewFile(LocalFileSystemMergeLoadMutator.java:91)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:490)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:727)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.doLoad(LoadOperation.java:434)
at com.ibm.team.filesystem.client.internal.operations.LocalFileSystemLoadOperation.execute(LocalFileSystemLoadOperation.java:97)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:279)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:152)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:574)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:430)
at java.lang.Thread.run(Thread.java:810)

The flag to accept all incoming changes before doing the build has been turned on in the build definition.

I already loaded the repository workspace into an eclipse workspace and tried to accept all incoming change sets, but there appear to be none. So the workspace seems to be up-to-date. Switching the build to use another repository workspace does not work either. The same problem occurs.

Do you have any idea on how to solve this problem?

Thanks,
Sebastian

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.