Getting IllegalArgumentException during fetching phase in bu
When I perform a build, I sometimes got exception in the build.
This occurs once in awhile and when it occurs all of the subsequent builds fail with the same message. The only way that I can resolve this is to restart the build engine. Here is what in the log: 2009-01-06 14:33:08 Should build occur? 2009-01-06 14:33:08 Yes: Always build a user initiated request. 2009-01-06 14:33:09 Invoking pre-build participant "com.ibm.team.build.jazzscm" Deleting fetch destination "C:\releng\team.build\fetched" before fetching ... Fetching files to fetch destination "C:\releng\team.build\fetched" ... java.lang.IllegalArgumentException at com.ibm.team.filesystem.client.internal.FileItemInfo.<init>(FileItemInfo.java:254) at com.ibm.team.filesystem.client.internal.InverseFileItemInfo.<init>(InverseFileItemInfo.java:71) at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.setItemInfo(CopyFileAreaStore.java:561) at com.ibm.team.filesystem.client.internal.SharingManager.share(SharingManager.java:200) at com.ibm.team.filesystem.client.internal.Shareable.share(Shareable.java:119) at com.ibm.team.filesystem.client.internal.Shareable.share(Shareable.java:86) at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.createFolder(MergeLoadMutator.java:919) at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:479) 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:797) |
One answer
Hello,
Can you try checking the "Delete directory before loading" check box on the Jazz Source Control tab of your build definition. This will cause the build engine to delete all files from the directory it is fetching source code into before performing the fetch. If that does not fix the problem, please open a work item against Source Control and include the stack trace from below so that we can investigate further. Thanks, Martha When I perform a build, I sometimes got exception in the build. |
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.