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
TypeError: Encoding for bytes fields must be "ASCII-8BIT", but was UTF-8 push at com/google/protobuf/jruby/RubyRepeatedField.java:169 [] at com/google/protobuf/jruby/RubyMessage.java:136 method_missing at com/google/protobuf/jruby/RubyMessage.java:223 (root) at test.rb:19
Failure is on the last line. So it looks like it encodes and decodes the message just fine, but fails on access. Have also tested this with byte map fields, resulting in the same behaviour.
The text was updated successfully, but these errors were encountered:
This only happens if the message was encoded and then decoded.
Jruby version: jruby 1.7.25
protobuf version: protobuf-3.0.0-beta-4
This fails:
Here's the TypeError:
TypeError: Encoding for bytes fields must be "ASCII-8BIT", but was UTF-8 push at com/google/protobuf/jruby/RubyRepeatedField.java:169 [] at com/google/protobuf/jruby/RubyMessage.java:136 method_missing at com/google/protobuf/jruby/RubyMessage.java:223 (root) at test.rb:19
Failure is on the last line. So it looks like it encodes and decodes the message just fine, but fails on access. Have also tested this with byte map fields, resulting in the same behaviour.
The text was updated successfully, but these errors were encountered: