Thanks Ian,

Are you able to post your config so we can track down this problem? Or
if you want, you can e-mail it to me directly at craig.j.sutherland
(at) gmail.com.


Craig

On Jun 4, 4:23 pm, Ian Davis <[email protected]> wrote:
> I tried to open my ccnet configuration using the 1.4.4 validator and
> got an unhandled error. Just posting here as it asked. My ccnet.config
> is purely !ENTITY and entity references.
>
> ---------------------------
> Unexpected error
> ---------------------------
> An unexpected error has occurred while loading the configuration!
>
> Please report this error to the CCNet user group (http://
> groups.google.com/group/ccnet-user). This will help us to improve this
> application.
>
> Exception has been thrown by the target of an invocation.
> [TargetInvocationException]
>
>    at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
> Object[] arguments, SignatureStruct& sig, MethodAttributes
> methodAttributes, RuntimeTypeHandle typeOwner)
>
>    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object
> [] arguments, Signature sig, MethodAttributes methodAttributes,
> RuntimeTypeHandle typeOwner)
>
>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture, Boolean skipVisibilityChecks)
>
>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture)
>
>    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo
> culture)
>
>    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object
> [] index)
>
>    at
> Exortech.NetReflector.Util.ReflectorMember.ReflectorProperty.GetValue
> (Object instance)
>
>    at Exortech.NetReflector.XmlMemberSerialiser.Write(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.WriteMembers(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.Write(XmlWriter writer,
> Object target)
>
>    at Exortech.NetReflector.XmlCollectionSerialiser.WriteValue
> (XmlWriter writer, Object value)
>
>    at Exortech.NetReflector.XmlMemberSerialiser.Write(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.WriteMembers(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.Write(XmlWriter writer,
> Object target)
>
>    at Exortech.NetReflector.ReflectorTypeAttribute.Write(XmlWriter
> writer, Object target)
>
>    at Validator.MainForm.DisplayProcessedConfiguration(List`1 config)
>
>    at Validator.MainForm.ValidateData(XmlDocument document)
>
>    at Validator.MainForm.Read(XmlDocument document)
>
>    at
> ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
> (FileInfo configFile)
>
>    at Validator.MainForm.StartConfigurationLoad()
>
> ========== Inner Exception ==========
>
> Exception has been thrown by the target of an invocation.
> [TargetInvocationException]
>
>    at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
> Object[] arguments, SignatureStruct& sig, MethodAttributes
> methodAttributes, RuntimeTypeHandle typeOwner)
>
>    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object
> [] arguments, Signature sig, MethodAttributes methodAttributes,
> RuntimeTypeHandle typeOwner)
>
>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture, Boolean skipVisibilityChecks)
>
>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture)
>
>    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo
> culture)
>
>    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object
> [] index)
>
>    at
> Exortech.NetReflector.Util.ReflectorMember.ReflectorProperty.GetValue
> (Object instance)
>
>    at Exortech.NetReflector.XmlMemberSerialiser.Write(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.WriteMembers(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.Write(XmlWriter writer,
> Object target)
>
>    at Exortech.NetReflector.XmlCollectionSerialiser.WriteValue
> (XmlWriter writer, Object value)
>
>    at Exortech.NetReflector.XmlMemberSerialiser.Write(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.WriteMembers(XmlWriter
> writer, Object target)
>
>    at Exortech.NetReflector.XmlTypeSerialiser.Write(XmlWriter writer,
> Object target)
>
>    at Exortech.NetReflector.ReflectorTypeAttribute.Write(XmlWriter
> writer, Object target)
>
>    at Validator.MainForm.DisplayProcessedConfiguration(List`1 config)
>
>    at Validator.MainForm.ValidateData(XmlDocument document)
>
>    at Validator.MainForm.Read(XmlDocument document)
>
>    at
> ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
> (FileInfo configFile)
>
>    at Validator.MainForm.StartConfigurationLoad()
> ---------------------------
> OK
> ---------------------------

Reply via email to