Re: [protobuf] Re: Getting IllegalAccessError in getSerializedSize()

2017-01-30 Thread Marc-Antoine Bibeau
Yes, found my problem. Was using an old version of com.googlecode.libphonenumber that was packaging old protobuf version in :( Thanks a lot for your answer! — Marc-Antoine Bibeau Staff Software Engineer AppDirect 1-514-913-4194 Blog | Press

Re: [protobuf] Protobuf best practices

2017-01-30 Thread 'Adam Cozzette' via Protocol Buffers
The style guide you linked to is the main resource I know of for recommendations on writing .proto files. About your point 1), you must use a single message type for the request--using multiple arguments or non-message types is not supported. So fortunately, your "good" example is the required

Re: [protobuf] Re: Getting IllegalAccessError in getSerializedSize()

2017-01-30 Thread 'Adam Cozzette' via Protocol Buffers
Is it possible that you are somehow mixing protobuf versions? I would guess that your application has dependencies which are pulling in two different versions of the protobuf runtime. On Mon, Jan 30, 2017 at 7:13 AM, Marc-Antoine Bibeau < marc-antoine.bib...@appdirect.com> wrote: > Any news on

[protobuf] Re: Getting IllegalAccessError in getSerializedSize()

2017-01-30 Thread Marc-Antoine Bibeau
Any news on this? I'm getting the same issue with version 3.2.0 :( On Tuesday, October 18, 2016 at 2:07:10 PM UTC-4, Nibin Geevarghese wrote: > > Hi, > > I started to get this error with protoc-3.0.0/3.0.2. How can this be > resolved ? > > > Regards, > Nibin > > On Friday, 2 September 2016