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

Nistor Adrian (Jira) issues at jboss.org
Mon Jun 3 09:27:00 EDT 2019


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

Nistor Adrian updated IPROTO-51:
--------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/protostream/pull/67


> 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: Nistor Adrian
>            Assignee: Nistor Adrian
>            Priority: Major
>             Fix For: 4.1.5.Final, 4.2.0.Alpha4, 4.3.0.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.12.1#712002)


More information about the infinispan-issues mailing list