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 <
[email protected]> wrote:

> 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 12:07:15 UTC-7, Paweł Szczur wrote:
>>>
>>> Funny, just installed protobuf-java:3.0.0 and getting this error with
>>> proto2.
>>>
>>> I've generated the code using protoc version 3.0.0.
>>>
>>> On Monday, November 16, 2015 at 7:32:17 PM UTC+1, Balaji R wrote:
>>>>
>>>> With protobuf-java:3.0.0-beta-1 and protoc:3.0.0-beta-1, I have started
>>>> getting IllegalAccessError in the generated code for access to memoizedSize
>>>> in getSerializedSize():
>>>>
>>>>
>>>> java.lang.IllegalAccessError: tried to access field
>>>>> com.google.protobuf.AbstractMessage.memoizedSize from class
>>>>> com.playground.proto.PlayProtos$DummyMessage
>>>>> at com.playground.proto.PlayProtos$DummyMessage.getSerializedSi
>>>>> ze(PlayProtos.java:722)
>>>>> at com.google.protobuf.AbstractMessageLite.toByteArray(Abstract
>>>>> MessageLite.java:64)
>>>>
>>>>
>>>> I am using syntax = "proto2".
>>>>
>>>> syntax = "proto2";
>>>>>
>>>>
>>>>
>>>> package playground;
>>>>> option java_package = "com.playground.proto";
>>>>> option java_outer_classname = "PlayProtos";
>>>>>
>>>>
>>>>
>>>> message DummyMessage {
>>>>
>>>> ...
>>>>
>>>> }
>>>>
>>>> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to