Details
-
Bug
-
Resolution: Duplicate
-
Major
-
4.4.0.Beta2
-
None
-
False
-
False
-
Undefined
Description
This proto schema is not supported, a /* @TypeId(10001) */ annotation is required:
package A; enum E { ONE = 1; TWO = 2; }
java.lang.NullPointerException at org.infinispan.protostream.impl.JsonUtils.processEnum(JsonUtils.java:169) at org.infinispan.protostream.impl.JsonUtils.processDocument(JsonUtils.java:128) at org.infinispan.protostream.impl.JsonUtils.fromCanonicalJSON(JsonUtils.java:91) at org.infinispan.protostream.ProtobufUtil.fromCanonicalJSON(ProtobufUtil.java:179)
Attachments
Issue Links
- is duplicated by
-
IPROTO-203 ProtobufUtil.fromCanonicalJSON fails with NPE when encountering an enum without a type id
- Resolved