Hi Team,

i am getting IOException while deserializing a proto which contains a 
repeated Data and Data has a string type set ( works for repeated Data and 
Data has the same with int type set )

I have a proto which has the following structure :

message XYZData
{
  ABCId abc_id = 1;
  DEF def= 2;
  google.protobuf.Timestamp ghi= 3;
  repeated JKL jkl = 4;
  MNO mno = 5;
}

where JKL is 
message JKL
{
  Culprit culprit = 1;
  PQR pqr = 2;
}
where Culprit is
message Culprit 
{
  oneof culprit 
  {
    int32 int_culprit = 1;
    string string_culprit = 2;
  }
}

When i use the int_culprit and use GZIP compression. it serializes and 
deserializes fine.
BUT when i use the string_culprit and use GZIP compression. it serializes 
fine and deserialization gives me IOException.


PLEASE help us on this as this is blocking a major deliverable for us.

Thanks,
Shibha



-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to