Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6940

Type not found : kogito.Serializable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.19.0.Final
    • Data Index
    • None
    • False
    • None
    • False
    • ---
    • ---

    Description

      04 07:10:43,986 ERROR [org.kie.kog.per.pro.ProtobufMonitorService] (main) Failed to register proto file: /home/kogito/data/protobufs/processquestions.proto: org.kie.kogito.persistence.protobuf.ProtobufValidationException: Failed to resolve type of field "life.genny.kogito.processquestions.Answer.created". Type not found : kogito.Serializable
      at org.kie.kogito.persistence.protobuf.ProtobufService.createSerializationContext(ProtobufService.java:145)
      at org.kie.kogito.persistence.protobuf.ProtobufService.registerProtoBufferType(ProtobufService.java:96)

      Here's the proto file (generated as part of kogito build) that is causing the issue:
      message Answer

      { /* @Field(index = Index.NO, store = Store.YES) @SortableField */ optional kogito.Serializable created = 1[(kogito_java_class) = "java.time.LocalDateTime"]; /* @Field(index = Index.NO, store = Store.YES) @SortableField */ optional string dataType = 2; /* @Field(index = Index.NO, store = Store.YES) @SortableField */ optional bool expired = 3; }

      The data type for "created" field is "java.time.LocalDateTime".

       

      Attachments

        Activity

          People

            cnicolai@redhat.com Cristiano Nicolai
            cnicolai@redhat.com Cristiano Nicolai
            Dominik Hanak Dominik Hanak
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: