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

Parse error in generated file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • BPMN Engine
    • None
    • False
    • None
    • False
    • ---
    • ---

      When I try to build from a .BPMN2 file, I get the following error message:

      Execution default-generateModel of goal org.kie.kogito:kogito-maven-plugin:1.24.0.Final:generateModel failed: Error while elaborating process id = "myProcessName", packageName = "nl.foo.dvp.client.business": (line 1,col 1) Parse error. Found  "client" <IDENTIFIER>, expected "}"

      I assume I did something wrong. However I am clueless. I assume the generator generated a file, that couldn't be parsed. The point is, the generated file hasn't been written to disk as far as I can see. That doesn't help with diagnosis of this error. As a modeller, I feel as if I am kept in the dark. It raises the following questions to me:

      1) What options do I have to diagnose this error?

      2) Couldn't the generator do better? If code is generated that cannot be parsed, the generator might be able to detect that before generating the file. In that case, a more helpful error message could be possible.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              hanjoosten Han Joosten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: