Re: [protobuf] com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero)

2010-01-15 Thread Madhav Ancha
Hi Daniel, The protocol buffer code is working fine. It was a cryptic marshaling issue. Its resolved now. Thanks, Madhav. On Thu, Jan 14, 2010 at 7:05 PM, Daniel Wright wrote: > Can you try to produce a stripped-down example (e.g. a proto file and a > *short* stripped-down .java file) that

[protobuf] Re: Issue 158 in protobuf: Push 2.3.0 maven artifact to repo

2010-01-15 Thread protobuf
Updates: Summary: Push 2.3.0 maven artifact to repo Owner: gk5885 Comment #2 on issue 158 by ken...@google.com: Push 2.3.0 maven artifact to repo http://code.google.com/p/protobuf/issues/detail?id=158 Renaming and re-assigning to Greg. Greg, can you publish the 2.3.0 release

[protobuf] shared library opened with dlopen, crash in google::protobuf::MessageFactory::InternalRegisterGeneratedFile

2010-01-15 Thread Cosmin Cremarenco
Hi all I'm on Solaris 10 x86, Sun Studio 12.1, protobuf 2.1.0. I think this is linked to Issue 128: http://code.google.com/p/protobuf/issues/detail?id=128 I'm doing dlopen/dlclose/dlopen on a shared library that contains pb generated classes. Given the words of advice in Issue 128 I configured wi

[protobuf] Re: Reading multiple protobuf messages from a binary file

2010-01-15 Thread lucas_ro
Yes, it is possible to serialize multiple protocol buffer messages into a binary file and then load them from one by one. Please see below my sample: 1. The file that describe the message I want to serialize: message Person { required int32 id = 1; required string name = 2; optional string

[protobuf] Re: Issue 158 in protobuf: Java code generated with 2.3.0 does not compile

2010-01-15 Thread protobuf
Comment #1 on issue 158 by cox.graham: Java code generated with 2.3.0 does not compile http://code.google.com/p/protobuf/issues/detail?id=158 I've just realised that I'm an idiot :) I was using the protoc 2.3.0 to write the java classes, and then using the 2.2.0 jar to compile them... Are

[protobuf] Issue 158 in protobuf: Java code generated with 2.3.0 does not compile

2010-01-15 Thread protobuf
Status: New Owner: ken...@google.com Labels: Type-Defect Priority-Medium New issue 158 by cox.graham: Java code generated with 2.3.0 does not compile http://code.google.com/p/protobuf/issues/detail?id=158 Using the maven2 plugin (From http://protobuf.googlecode.com/svn/branches/ maven-plugin/too