[protobuf] Running a sample AddPerson.java example - Fails giving Protocol message tag had invalid wire type

2013-07-02 Thread Dhaval Kotecha
Hi All, I am a newbie to Protocol Buffers. I am trying to run the AddPerson example, and it fails giving me the error as mentioned below with the whole stacktrace. Exception in thread main com.google.protobuf.InvalidProtocolBufferException: Protocol message tag had invalid wire type. at

Re: [protobuf] Running a sample AddPerson.java example - Fails giving Protocol message tag had invalid wire type

2013-07-02 Thread Ilia Mirkin
I think it wants a file with proto data, not the proto description. Also it wants it proto-encoded, not text-encoded. On Mon, Jul 1, 2013 at 6:00 PM, Dhaval Kotecha dhaval.kote...@gmail.com wrote: Hi All, I am a newbie to Protocol Buffers. I am trying to run the AddPerson example, and it