With ccnet.config like this:

<cruisecontrol>
</cruisecontrol>

The server starts and we get the following:

[CCNet Server:INFO] Reading configuration file "c:\Program Files
\CruiseControl.NET\server\ccnet.config"
[CCNet Server:INFO] No projects found
[CCNet Server:INFO] Registered channel: tcp
[CCNet Server:INFO] CruiseManager: Listening on url:
tcp://10.51.104.18:21234/CruiseManager.rem
[CCNet Server:INFO] Starting CruiseControl.NET Server


With:

<cruisecontrol>
  <project>
  </project>
</cruisecontrol>

We get the following:

[6988:INFO] Reading configuration file "c:\Program Files
\CruiseControl.NET\server\ccnet.config"
[6988:ERROR] Exception:
Unable to instantiate CruiseControl projects from configuration
document.
Configuration document is likely missing Xml nodes required for
properly populating CruiseControl configuration.
Missing Xml node (name) for required member
(ThoughtWorks.CruiseControl.Core.ProjectBase.Name).
 Conflicting project data : <project />

When using a project from the examples folder or adding  <name>Test</
name> we get:

[CCNet Server:ERROR] INTERNAL ERROR:
System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String)
----------
System.MethodAccessException:
System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String)
   at System.Xml.XmlEventCache.WriteString(String text)
   at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStringUnchecked
(String text)
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template
name="EvalTextConstants">(XmlQueryRuntime {urn:schemas-microsoft-
com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-
debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position,
Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1{urn:schemas-
microsoft-com:xslt-debug}namespaces) in :line 24
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="@*">
(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double
{urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-
microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-
debug}namespaces) in :line 47
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
XPathNavigator , Double , Double )
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()"
priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}
runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current,
Double {urn:schemas-microsoft-com:xslt-debug}position, Double
{urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-
microsoft-com:xslt-debug}namespaces) in :line 15
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
XPathNavigator , Double , Double )
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()"
priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}
runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current,
Double {urn:schemas-microsoft-com:xslt-debug}position, Double
{urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-
microsoft-com:xslt-debug}namespaces) in :line 15
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
XPathNavigator , Double , Double )
   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
XPathNavigator , Double , Double )
   at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime)
   at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime)
   at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
writer, Boolean closeWriter)
   at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument,
XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
results)
   at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input,
XsltArgumentList arguments, XmlWriter results, XmlResolver
documentResolver)
   at
ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessor.PreProcess
(XmlReader input, XmlWriter output, PreprocessorUrlResolver resolver,
Uri input_uri)
   at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.CreateXmlValidatingLoader
(FileInfo configFile)
   at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.AttemptLoadConfiguration
(FileInfo configFile)
   at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
(FileInfo configFile)
   at
ThoughtWorks.CruiseControl.Core.Config.FileConfigurationService.Load()
   at
ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.Load
()
   at
ThoughtWorks.CruiseControl.Core.Config.CachingConfigurationService.Load
()
   at ThoughtWorks.CruiseControl.Core.CruiseServer..ctor
(IConfigurationService configurationService,
IProjectIntegratorListFactory projectIntegratorListFactory,
IProjectSerializer projectSerializer)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal
(String configFile)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create
(Boolean remote, String configFile)
   at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer()
   at ThoughtWorks.CruiseControl.Console.ConsoleMain.Main(String[]
args)


On 3 Jan., 06:06, "David Cameron" <[email protected]> wrote:
> Hi
>
> The configuraton pre-processor is choking when it tries to transform
> your config file. Can you post your configuration file to list, after
> changing any sensitive parts like password?
>
> Dave
>
> On Tue, Dec 30, 2008 at 12:48 AM, Stulle <[email protected]> wrote:
>
> > When i ad a project to ccnet.config i get the following error. Im
> > running a windows server 2008 64 bit.
>
> > Can anyone help?
>
> > --------
>
> > 2008-12-29 14:33:35,159 [CCNet Server:DEBUG] The trace level is
> > currently set to debug.  This will cause CCNet to log at the most
> > verbose level, which is useful for setting up or debugging the
> > server.  Once your server is running smoothly, we recommend changing
> > this setting in C:\Program Files (x86)\CruiseControl.NET\server
> > \ccnet.exe.config to a lower level.
> > 2008-12-29 14:33:35,191 [CCNet Server:INFO] Reading configuration file
> > "C:\Program Files (x86)\CruiseControl.NET\server\ccnet.config"
> > 2008-12-29 14:33:35,362 [CCNet Server:ERROR] INTERNAL ERROR:
> > System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String)
> > ----------
> > System.MethodAccessException:
> > System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String)
> >   at System.Xml.XmlEventCache.WriteString(String text)
> >   at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStringUnchecked
> > (String text)
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template
> > name="EvalTextConstants">(XmlQueryRuntime {urn:schemas-microsoft-
> > com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-
> > debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position,
> > Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1
> > {urn:schemas-microsoft-com:xslt-debug}namespaces) in :line 24
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="text()">
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double
> > {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-
> > microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-
> > debug}namespaces) in :line 40
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator , Double , Double )
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()"
> > priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}
> > runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current,
> > Double {urn:schemas-microsoft-com:xslt-debug}position, Double
> > {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-
> > microsoft-com:xslt-debug}namespaces) in :line 15
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator , Double , Double )
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()"
> > priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}
> > runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current,
> > Double {urn:schemas-microsoft-com:xslt-debug}position, Double
> > {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-
> > microsoft-com:xslt-debug}namespaces) in :line 15
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator , Double , Double )
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()"
> > priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}
> > runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current,
> > Double {urn:schemas-microsoft-com:xslt-debug}position, Double
> > {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-
> > microsoft-com:xslt-debug}namespaces) in :line 15
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator , Double , Double )
> >   at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>
> > (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime,
> > XPathNavigator , Double , Double )
> >   at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime
> > {urn:schemas-microsoft-com:xslt-debug}runtime)
> >   at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime
> > {urn:schemas-microsoft-com:xslt-debug}runtime)
> >   at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
> > XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
> > writer, Boolean closeWriter)
> >   at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument,
> > XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
> > results)
> >   at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input,
> > XsltArgumentList arguments, XmlWriter results, XmlResolver
> > documentResolver)
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessor.PreProcess
> > (XmlReader input, XmlWriter output, PreprocessorUrlResolver resolver,
> > Uri input_uri)
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.CreateXmlValidatingLoader
> > (FileInfo configFile)
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.AttemptLoadConfiguration
> > (FileInfo configFile)
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
> > (FileInfo configFile)
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.FileConfigurationService.Load()
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.Load
> > ()
> >   at
> > ThoughtWorks.CruiseControl.Core.Config.CachingConfigurationService.Load
> > ()
> >   at ThoughtWorks.CruiseControl.Core.CruiseServer..ctor
> > (IConfigurationService configurationService,
> > IProjectIntegratorListFactory projectIntegratorListFactory,
> > IProjectSerializer projectSerializer)
> >   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal
> > (String configFile)
> >   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create
> > (Boolean remote, String configFile)
> >   at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer()
> >   at ThoughtWorks.CruiseControl.Console.ConsoleMain.Main(String[]
> > args)
> > ----------

Reply via email to