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

Duplicate kogitoaddons on processing message in topic kogito-processinstances-events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.20.0.Final
    • 1.19.0.Final
    • Core Engine
    • None
    • False
    • None
    • False
    • ---
    • ---

      An error occurs when processing the message:

      2022-04-27 06:43:48,244 ERROR [io.sma.rea.mes.provider] (vert.x-eventloop-thread-1) SRMSG00201: Error caught while processing a message: java.lang.IllegalArgumentException: duplicate element: prometheus-monitoring
        at java.base/java.util.ImmutableCollections$SetN.<init>(ImmutableCollections.java:604)
        at java.base/java.util.Set.of(Set.java:701)
        at org.kie.kogito.index.event.ProcessInstanceEventMapper.apply(ProcessInstanceEventMapper.java:61)
        at org.kie.kogito.index.messaging.ReactiveMessagingEventConsumer.lambda$onProcessInstanceEvent$0(ReactiveMessagingEventConsumer.java:56) 
      
      

      A part of message:

      "specversion": "1.0",
        "kogitoprocinstanceid": "7d35779f-7ddd-4561-9e2a-a48f2f6b9816",
        "kogitoprocid": "singleAsync",
        "kogitoaddons": "infinispan-persistence,process-management,jobs-management,process-svg,prometheus-monitoring,prometheus-monitoring,monitoring",
        "kogitousertaskist": "1" 

      Where, for some reason, duplicates occur in the kogitoaddons message element.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              iurybakov iuriy rybakov (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: