I have write a program and serialized an object by C++ and 
then I can parse the exact serialized bytes by 
C++ without error.
This scenario is correct and working well.

But when I try to parse these bytes by Java
 then it tell me following exception : 

- While parsing a protocol message, 
the input ended unexpectedly in the middle of a field. 
This could 
mean either than the input has been truncated 
or that an embedded message misreported its own length.

and this exception happens when I set a field to
""(empty string) in C++ serializer.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to