[protobuf] java.lang.NoSuchMethodError: No virtual method getBoolean(Ljava/lang/Object;J)Z in class Lsun/misc/Unsafe; or its super classes (declaration of 'sun.misc.Unsafe' appears in /system/framewor

2023-03-27 Thread 'Steven Pierre' via Protocol Buffers
Running into this error ```java.lang.NoSuchMethodError: No virtual method getBoolean(Ljava/lang/Object;J)Z in class Lsun/misc/Unsafe; or its super classes (declaration of 'sun.misc.Unsafe' appears in /system/framework/core-libart.jar) at com.google.protobuf.UnsafeUtil$JvmMemoryAccessor.getBoole

[protobuf] Missing field converting proto message from byte[] to "com.google.protobuf.Message"

2023-03-27 Thread Joan Balagueró
Hello everyone, I'm absolutely new to probuf. So this is my issue. We have implemented a proxy that receives a protobuf message as a byte array in a post message, and we only have to bypass this proto to the backend, receive the response (also in protobuf) and return it to the origin. That wor