[infinispan-issues] [JBoss JIRA] (ISPN-6328) Improper configuration of marshalling can lead to com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero)

Tristan Tarrant (JIRA) issues at jboss.org
Wed Apr 13 06:11:06 EDT 2016


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

Tristan Tarrant updated ISPN-6328:
----------------------------------
    Fix Version/s:     (was: 9.0.0.Alpha2)


> Improper configuration of marshalling can lead to com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero)
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-6328
>                 URL: https://issues.jboss.org/browse/ISPN-6328
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Querying
>    Affects Versions: 8.2.0.CR1
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>
> Running queries on a remote cache that was previously populated by an app that did not use protobuf marshalling should be allowed, and all those entities that were not encoded using protobuf should be ignored by the query engine and a warning should be logged instructing the user about the potential issue and how to fix the configuration. 
> The current behaviour in this case is not user friendly, especially in case of non-indexed query.  An error is thrown during query evaluation: "com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero)." which indicates the unmarshalling of the queried entities is not possible. The actual cause of the bad encoding should be explained to the user and no exception should be thrown as if the type of entities does not match the requested type. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list