History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-763
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Owen Rogers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

Working directory not set for initial project build

Created: 10/Oct/06 08:45 AM   Updated: 29/Sep/09 02:24 PM
Component/s: Configuration
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
There is a bug in the 1.1 release where the working directory is not set for an initial project build. This leads to an exceptions like:

INTERNAL ERROR: Value cannot be null.
Parameter name: path1
----------
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at ThoughtWorks.CruiseControl.Core.IntegrationResult.BaseFromWorkingDirectory(String pathToBase)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.VersionHistoryProcessInfo(IIntegrationResult from, IIntegrationResult to, Boolean bForceGetLatestVersion)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetFolderVersion(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.LookForChangesUsingVersionHistory(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
   at ThoughtWorks.CruiseControl.Core.Project.Integrate(IntegrationRequest request)
   at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Integrate()
----------

The workaround is to copy a state file from a project which has built successfully and change the version number back to 1.

 All   Comments   Work Log   Change History      Sort Order:
Owen Rogers [10/Oct/06 08:56 AM]
fixed in build 1.1.0.2517