activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: NMS ActiveMQ unit tests
Date Tue, 17 Oct 2006 20:45:43 GMT
It looks like your trying to serialize an ActiveMQ connection... are you
doing remoting or something?  I guess we could make our exception
serializable.


On 10/17/06, Oleg Deribas <thisaddressisnotmine@td.selfip.net> wrote:
>
>
> When I'm trying to run nunit tests on current ActiveMQ I have unhandled
> exception. I'm using nunit 2.2.8 for .NET 2.0.
> nms-test.dll goes fine, but testing activemq-test.dll gives exception.
> Is it known bug, or should I actually ignore this exception?
>
>
> ---------------------------
> Unhandled Exception
> ---------------------------
> An unhandled exception was detected. Since it was most likely thrown on
> a separate thread, it may or may not have been caused by the current test.
>
> System.Runtime.Serialization.SerializationException: Type
> 'ActiveMQ.ConnectionClosedException' in Assembly 'activemq,
> Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as
> serializable.
>
>    at
>
> System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize
> (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.Serialize
> (Object
> graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
>
>    at
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
> (Stream
> serializationStream, Object graph, Header[] headers, Boolean fCheck)
>
>    at
> System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject
> (Object
> obj, MemoryStream stm)
>
>    at System.AppDomain.Serialize(Object o)
>
>    at System.AppDomain.MarshalObject(Object o)
>
> ---------------------------
>
> --
> Oleg
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message