This looks like it is a problem with .NET Remoting – where was this error
coming from? The log file or the dashboard/CCTray?

 

If this is coming from the dashboard/CCTray, it is because the exceptions in
NetReflector are not marked as [Serializable], so .NET Remoting doesn’t know
what to do with them!  This is actually a design flaw in system as we
shouldn’t be relying on exceptions being passed over .NET Remoting. The good
news is it will be fixed in the 1.5.0 release (when we move to a
messaging-style format for the methods).

 

 

Craig

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Ruben Willems
Sent: Tuesday, 2 June 2009 7:14 a.m.
To: [email protected]
Subject: [ccnet-user] Re: NetReflectorConverterException Exception In When
Upgrading To CCNet 1.4.4

 

Hi

this is indeed not a nice error message

but what do you mean with :
<<I have to admit that I would have expected a different exception for
simply missing the "/" in the closing tag of the build publisher.>>




° was the config not valid xml
° ...

could you post the wrong config?
or at least the part that is wrong ?

I just want to know what it was, so we can improve the errormessage in next
releases.
issue ID :
http://jira.public.thoughtworks.org/browse/CCNET-1537


with kind regards
Ruben Willems



On Mon, Jun 1, 2009 at 6:22 PM, BDekker <[email protected]> wrote:


I have to admit that I would have expected a different exception for
simply missing the "/" in the closing tag of the build publisher.


On Jun 1, 4:03 am, Ruben Willems <[email protected]> wrote:
> Hi
>
> ok, you got you me scared for a  moment ;-)
> thanks for letting us know it was a typo in your config.
>
> with kind regards
> Ruben Willems
>
>
>

> On Mon, Jun 1, 2009 at 8:38 AM, BDekker <[email protected]>
wrote:
>
> > It turns out that this is the error is coming from a typo made while
> > updating the build publisher to do cleaning.
>
> > On Jun 1, 1:15 am, BDekker <[email protected]> wrote:
> > > I am getting the following exception when upgrading from 1.4.3 to
> > > recent release of 1.4.4.  Can anyone shed any light on what this
> > > exception might be or where to look to?  It appears to be an error
> > > coming only from our projects that use our own custom tasks.
>
> > > Service cannot be started.
> > > System.Runtime.Serialization.SerializationException: Type
> > > 'Exortech.NetReflector.NetReflectorConverterException' in Assembly
> > > 'NetReflector, Version=1.1.2009.1004, Culture=neutral,
> > > PublicKeyToken=dbcd6104b72f39b2' is not marked as serializable.
>
> > > Server stack trace:
> > >    at
>
> >
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerializ­
­e
> > > (Object obj, ISurrogateSelector surrogateSelector, StreamingContext
> > > context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter
> > > converter, ObjectWriter objectWriter)
> > >    at
> > >
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize
> > > (Object obj, ISurrogateSelector surrogateSelector, StreamingContext
> > > context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter
> > > converter, ObjectWriter objectWriter)
> > >    at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write
> > > (WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo
> > > typeNameInfo)
> > >    at
> > > System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize
> > > (Object graph, Header[...
>
> > > For more information, see Help and Support Center athttp://
> > go.microsoft.com/fwlink/events.asp.
>
> > > Thanks

 

Reply via email to