[infinispan-issues] [JBoss JIRA] (IPROTO-51) ProtoSchemaBuilder fails on required property of type bytes

Adrian Nistor (JIRA) issues at jboss.org
Mon Apr 23 12:50:00 EDT 2018


     [ https://issues.jboss.org/browse/IPROTO-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated IPROTO-51:
--------------------------------
    Fix Version/s: 4.3.0.Alpha1
                   4.3.0.Final
                   4.2.1.Final
                   4.1.5.Final


> ProtoSchemaBuilder fails on required property of type bytes
> -----------------------------------------------------------
>
>                 Key: IPROTO-51
>                 URL: https://issues.jboss.org/browse/IPROTO-51
>             Project: Infinispan ProtoStream
>          Issue Type: Bug
>    Affects Versions: 3.0.5.Final
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>             Fix For: 4.3.0.Alpha1, 4.3.0.Final, 4.2.1.Final, 4.1.5.Final
>
>
> {code}
>   @ProtoField(number = 10, required = true)
>   public byte[] getName() {
>     return name;
>   }
> {code}
> reults in
> Failure: org.infinispan.protostream.annotations.ProtoSchemaBuilderException: Repeated field 'name' of class app.model.Train cannot be marked required.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list