Export to GitHub

protobuf-net - issue #457

Value null exception


Posted on Jun 4, 2015 by Helpful Cat

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.Write(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

Status: New

Labels:
Type-Defect Priority-Medium