You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm trying to write simple integer types like Long or Int I get the com.google.protobuf.InvalidProtocolBufferException error
importpbdirect._1L.toPB
results to
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.
On the contrary "foobar".toPB or Array[Byte](1, 2, 3).toPB are working fine, it's quite confusing.
It should print something meaningful, or the implicit extension .toPb just shouldn't exists for these types.
The text was updated successfully, but these errors were encountered:
vovapolu
changed the title
Converting from integers are not working
Writing integers are not working
Feb 28, 2019
vovapolu
changed the title
Writing integers are not working
Writing integers produces strange error
Feb 28, 2019
If I'm trying to write simple integer types like
Long
orInt
I get thecom.google.protobuf.InvalidProtocolBufferException
errorresults to
On the contrary
"foobar".toPB
orArray[Byte](1, 2, 3).toPB
are working fine, it's quite confusing.It should print something meaningful, or the implicit extension
.toPb
just shouldn't exists for these types.The text was updated successfully, but these errors were encountered: