[infinispan-issues] [JBoss JIRA] (ISPN-4051) ProtoStream should provide guidelines when it fails to resolve dependencies correctly

Tristan Tarrant (JIRA) issues at jboss.org
Mon Feb 24 04:41:47 EST 2014


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

Tristan Tarrant updated ISPN-4051:
----------------------------------

    Summary: ProtoStream should provide guidelines when it fails to resolve dependencies correctly  (was: ProtoStream fails to resolve dependencies correctly)

    
> ProtoStream should provide guidelines when it fails to resolve dependencies correctly
> -------------------------------------------------------------------------------------
>
>                 Key: ISPN-4051
>                 URL: https://issues.jboss.org/browse/ISPN-4051
>             Project: Infinispan
>          Issue Type: Bug
>            Reporter: Tristan Tarrant
>            Assignee: Adrian Nistor
>
> Attempting to import a ProtoBuf definition which uses imports fails with:
> Caused by: com.google.protobuf.Descriptors$DescriptorValidationException: AeiReaderMessage_M.proto: Dependencies passed to FileDescriptor.buildFrom() don't match those listed in the FileDescriptorProto.
> 	at com.google.protobuf.Descriptors$FileDescriptor.buildFrom(Descriptors.java:240)
> 	at org.infinispan.protostream.impl.SerializationContextImpl.registerProtofile(SerializationContextImpl.java:61)
> 	at org.infinispan.query.remote.ProtobufMetadataManager$ProtobufMetadataRegistryListener.registerProtofile(ProtobufMetadataManager.java:154)
> 	at org.infinispan.query.remote.ProtobufMetadataManager$ProtobufMetadataRegistryListener.modified(ProtobufMetadataManager.java:149)
> This is caused by the fact that SerializationContextImpl#resolveDeps returns an empty array even though the inlcuded file is actually in the definition. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list