andyQn / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Value null exception #457

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please include an e-mail address if this might need a dialogue!
==============

I am trying to serialize an object of class created by me , getting following 
stack trace-

ProtoBuf.Serializers.CompiledSerializer.ProtoBuf.Serializers.IProtoSerializer.Wr
ite(Object value, ProtoWriter dest)
   at ProtoBuf.Meta.RuntimeTypeModel.Serialize(Int32 key, Object value, ProtoWriter dest)
   at ProtoBuf.Meta.TypeModel.SerializeCore(ProtoWriter writer, Object value)
   at ProtoBuf.Meta.TypeModel.Serialize(Stream dest, Object value, SerializationContext context)
   at ProtoBuf.Meta.TypeModel.Serialize(Stream dest, Object value)
   at ProtoBuf.Serializer.Serialize[T](Stream destination, T instance)
   at

Error message is - value can not be null

Original issue reported on code.google.com by mrunalvk...@gmail.com on 4 Jun 2015 at 1:15