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

The default process id, auto generated, is not valid.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • Hide
      • create a new project
        mvn io.quarkus:quarkus-maven-plugin:1.2.1.Final:create -DprojectGroupId=org.acme -DprojectArtifactId=kogito-reproducer -Dextensions="kogito"
      • Add a new bpmn process, open it using VSCode Extension 0.2.7
      • Start quarkus
        mvn clean compile quarkus:dev
      Show
      create a new project mvn io.quarkus:quarkus-maven-plugin:1.2.1.Final:create -DprojectGroupId=org.acme -DprojectArtifactId=kogito-reproducer -Dextensions="kogito" Add a new bpmn process, open it using VSCode Extension 0.2.7 Start quarkus mvn clean compile quarkus:dev

      Whenever a new bpmn file is created, it receives an auto-generated ID similar to:
      "_997D8596-D64E-4386-AC2B-C976E60DC08E" .

      Although it is recommended not to use this code as a process id, if a user start a new project, create a process and try to start quarkus, it does start due to the following error:

      23:20:41,138 ERROR [io.qua.dev.DevModeMain] Failed to start Quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [error]: Build step io.quarkus.kogito.deployment.KogitoAssetsProcessor#generateModel threw an exception: java.lang.IllegalArgumentException: Process id '_997D8596-D64E-4386-AC2B-C976E60DC08E' is not valid

      For a better starter experience, the generated project and assets should compile and run without issues, even if we raise some alerts and recommendations. This should not be a show stopper.

              eignatow Eder Ignatowicz
              kvarela@redhat.com Karina Varela (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: