-
Bug
-
Resolution: Done
-
Major
-
None
-
None
I'm trying to create a reproducer for the following error using a simple entity
java.io.IOException: Found tag with invalid wire type : tag=36, wireType=END_GROUP at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:142) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:83) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:83) at org.infinispan.protostream.ProtobufParser.parseInternal(ProtobufParser.java:57) at org.infinispan.protostream.ProtobufParser.parse(ProtobufParser.java:44) at org.infinispan.protostream.impl.JsonUtils$2.onEnd(JsonUtils.java:693)
I had no luck. The source code here (https://github.com/pruivo/protostream/commit/c55c3899c320a8055f26a16cd9631559ac557203) only generated the error below.
Caused by: org.infinispan.protostream.MalformedProtobufException: Found an invalid protobuf tag (1) having a field number smaller than 1 at org.infinispan.protostream.impl.TagReaderImpl$Decoder.readTag(TagReaderImpl.java:317) at org.infinispan.protostream.impl.TagReaderImpl.readTag(TagReaderImpl.java:97) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:63) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:83) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:83) at org.infinispan.protostream.ProtobufParser.parseInternal(ProtobufParser.java:57) at org.infinispan.protostream.ProtobufParser.parse(ProtobufParser.java:44) at org.infinispan.protostream.impl.JsonUtils$2.onEnd(JsonUtils.java:693)
Entity
public class MapOfUUID { @ProtoField(value = 1, mapImplementation = HashMap.class) public Map<String, UUID> data; }
- is duplicated by
-
IPROTO-345 Improve Map JSON output
-
- Resolved
-