Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-281

Use of String.toUpperCase() causes proto file parsing failures for certain locales

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 4.3.6.Final
    • 4.3.5.Final
    • None
    • False
    • False
    • None

      ProtoStream fails parse proto files for specific locales, e.g. tr_TR

      Caused by: org.infinispan.protostream.DescriptorParserException: Failed to resolve type of field "java.lang.Class.name". Type not found : string
      	at org.infinispan.protostream@4.3.5.Final-redhat-00003//org.infinispan.protostream.descriptors.FileDescriptor.resolveFieldTypes(FileDescriptor.java:344)
      	at org.infinispan.protostream@4.3.5.Final-redhat-00003//org.infinispan.protostream.descriptors.FileDescriptor.resolveDependencies(FileDescriptor.java:254)
      	at org.infinispan.protostream@4.3.5.Final-redhat-00003//org.infinispan.protostream.descriptors.FileDescriptor.resolveDependencies(FileDescriptor.java:210)
      	at org.infinispan.protostream@4.3.5.Final-redhat-00003//org.infinispan.protostream.descriptors.ResolutionContext.resolve(ResolutionContext.java:57)
      	at org.infinispan.protostream@4.3.5.Final-redhat-00003//org.infinispan.protostream.impl.SerializationContextImpl.registerProtoFiles(SerializationContextImpl.java:118)
      	at org.wildfly.clustering.marshalling.protostream@7.4.13.GA-redhat-00001//org.wildfly.clustering.marshalling.protostream.AbstractSerializationContextInitializer.registerSchema(AbstractSerializationContextInitializer.java:69)
      	at org.wildfly.clustering.marshalling.protostream@7.4.13.GA-redhat-00001//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.init(SerializationContextBuilder.java:137)
      	at org.wildfly.clustering.marshalling.protostream@7.4.13.GA-redhat-00001//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.init(SerializationContextBuilder.java:132)
      	at org.wildfly.clustering.marshalling.protostream@7.4.13.GA-redhat-00001//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.register(SerializationContextBuilder.java:91)
      	at org.wildfly.clustering.marshalling.protostream@7.4.13.GA-redhat-00001//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.<init>(SerializationContextBuilder.java:54)
      	at org.wildfly.clustering.infinispan.spi@7.4.13.GA-redhat-00001//org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller.<init>(InfinispanProtoStreamMarshaller.java:36)
      	at org.jboss.as.clustering.infinispan@7.4.13.GA-redhat-00001//org.jboss.as.clustering.infinispan.subsystem.GlobalConfigurationServiceConfigurator.createMarshaller(GlobalConfigurationServiceConfigurator.java:179)
      	at org.jboss.as.clustering.infinispan@7.4.13.GA-redhat-00001//org.jboss.as.clustering.infinispan.subsystem.GlobalConfigurationServiceConfigurator.get(GlobalConfigurationServiceConfigurator.java:130)
      	at org.jboss.as.clustering.infinispan@7.4.13.GA-redhat-00001//org.jboss.as.clustering.infinispan.subsystem.GlobalConfigurationServiceConfigurator.get(GlobalConfigurationServiceConfigurator.java:79)
      	at org.wildfly.clustering.service@7.4.13.GA-redhat-00001//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
      

      We need to backport IPROTO-208 to 4.3.x branch.

              ttarrant@redhat.com Tristan Tarrant
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: