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

Fail to load Decision model running dmn-tracing-quarkus example in Native mode

XMLWordPrintable

    • False
    • False
    • Undefined
    • Hide

      git clone https://github.com/kiegroup/kogito-examples
      cd dmn-tracing-quarkus
      mvn clean install -Pnative
      Actual: It fails when running the tests (it depends on KOGITO-3480)
      Expected: No failures

      Show
      git clone https://github.com/kiegroup/kogito-examples cd dmn-tracing-quarkus mvn clean install -Pnative Actual: It fails when running the tests (it depends on KOGITO-3480 ) Expected: No failures
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28)

      It seems that Kogito is unable to load the dmn resources when running quarkus in Native mode. See steps to reproduce.

      Stacktrace:

      2020-09-30 15:24:33,816 ERROR [io.sma.rea.mes.provider] (main) SRMSG00212: Unable to initialize mediator: org.kie.kogito.tracing.decision.QuarkusModelEventEmitter#getEventPublisher: java.lang.NullPointerException
      	at java.io.Reader.<init>(Reader.java:167)
      	at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
      	at org.kie.kogito.dmn.BaseDecisionModelResource.load(BaseDecisionModelResource.java:88)
      	at org.kie.kogito.dmn.BaseDecisionModelResource.get(BaseDecisionModelResource.java:79)
      	at org.kie.kogito.dmn.BaseDecisionModelResource.get(BaseDecisionModelResource.java:29)
      	at org.kie.kogito.tracing.decision.BaseModelEventEmitter.lambda$publishDecisionModels$1(BaseModelEventEmitter.java:40)
      	at java.util.ArrayList.forEach(ArrayList.java:1540)
      	at org.kie.kogito.tracing.decision.BaseModelEventEmitter.publishDecisionModels(BaseModelEventEmitter.java:31)
      	at org.kie.kogito.tracing.decision.QuarkusModelEventEmitter.publishDecisionModels(QuarkusModelEventEmitter.java:45)
      	at org.kie.kogito.tracing.decision.QuarkusModelEventEmitter_Bean.create(QuarkusModelEventEmitter_Bean.zig:160)
      	at org.kie.kogito.tracing.decision.QuarkusModelEventEmitter_Bean.create(QuarkusModelEventEmitter_Bean.zig:176)
      

              manstis@redhat.com Michael Anstis
              jcarvaja@redhat.com Jose Carvajal Hilario
              Jose Carvajal Hilario Jose Carvajal Hilario
              Jose Carvajal Hilario Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: