Hi

looks like a configuration bug
are you sure that the source control tag is in the correct place in the
project?
can you post the config of the entire project ?


with kind regards
Ruben Willems



On 16 April 2013 10:37, Saurabh Ahuja <[email protected]> wrote:

> Hi
> I have added below tag in ccnet.config file and after that ccnet service
> is not coming up-
>
>        <sourcecontrol type="vsts" autoGetSource="true" applyLabel="false">
> <server>pathttofscollection</server>
> <project>$/pathtotfsprojectsource</project>
> <workingDirectory>C:\Users\sahuja\Documents\Visual Studio
> 2010\myproject</workingDirectory>
> <cleanCopy>false</cleanCopy>
> </sourcecontrol>
>
> I am getting below error in event-logs which means it is failing for TFS
> validation but I do have access to it and already tried  to run it with my
> credentials but no luck-
>
> Service cannot be started. System.NullReferenceException: Object reference
> not set to an instance of an object.
>
> Server stack trace:
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.Validate(IConfiguration
> configuration, ConfigurationTrace parent, IConfigurationErrorProcesser
> errorProcesser)
>    at ThoughtWorks.CruiseControl.Core.Project.ValidateItem(Object item,
> IConfiguration configuration, ConfigurationTrace parent,
> IConfigurationErrorProcesser errorProcesser)
>    at ThoughtWorks.CruiseControl.Core.Project.Validate(IConfiguration
> configuration, ConfigurationTrace parent, IConfigurationErrorProcesser
> errorProcesser)
>    at
> ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.ValidateConfiguration(Configuration
> value, IConfigurationErrorProces-
>
> Any idea about possible issues and how I can fix it?
>
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ccnet-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to