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

Error when going back and forth between multiple workflow details

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.40.0.Final
    • None
    • None
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 21-23 (from May 22)

      Create a simple Quarkus Project (version `2.16.6.Final`) and add these dependencies:

      • kogito-quarkus-serverless-workflow
      • kogito-quarkus-serverless-workflow-devui
      • kogito-addons-quarkus-source-files
      • kogito-addons-quarkus-data-index-inmemory

      When accessing the Dev UI with more than 1 execution

      The following exception is thrown when going back and forth between workflow details despite the fact that the file is there.

      2023-05-16 18:58:44,844 WARN [not.gra.exe.SimpleDataFetcherExceptionHandler] (ForkJoinPool.commonPool-worker-7) Exception while fetching data (/ProcessInstances[0]/source) : java.io.FileNotFoundException: hello.sw.json could not be found.: java.io.UncheckedIOException: java.io.FileNotFoundException: hello.sw.json could not be found. at org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl.lambda$getProcessInstanceSourceFileContent$1(KogitoAddonRuntimeClientImpl.java:94) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl.lambda$getProcessInstanceSourceFileContent$3(KogitoAddonRuntimeClientImpl.java:90) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) Caused by: java.io.FileNotFoundException: hello.sw.json could not be found. at org.kie.kogito.addon.source.files.SourceFile.readContents(SourceFile.java:54) at org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl.lambda$getProcessInstanceSourceFileContent$1(KogitoAddonRuntimeClientImpl.java:92) ... 9 more

       

            cnicolai@redhat.com Cristiano Nicolai
            gcaponet Guilherme Caponetto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: