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

SWF Viewer : Fix issue with empty Json

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Hide

      While testing the App (SWF Kogito App) in dev mode or as in a war file. Click on create new and the console throws errors. If one clicks in a valid Json file as an example and then create new this does not happen

      Show
      While testing the App (SWF Kogito App) in dev mode or as in a war file. Click on create new and the console throws errors. If one clicks in a valid Json file as an example and then create new this does not happen
    • ---
    • ---
    • 2022 Week 20-22 (from May 16), 2022 Week 23-25 (from Jun 6)

    Description

      When attempting to parse an empty Json file for the first time, this causes error /NPE, if instead of this a valid Json is parsed and then an empty Json file gets parsed this issue does not happen. It is because a marshaller instance has not been initialized. This causes issues when integrating with VSCode

       

      NOTE: 

      • It's necessary to identify when creating a new workflow (the tooling uses empty content), or when the json is "empty" or invalid, which means it's about error handling instead.

      Attachments

        Issue Links

          Activity

            People

              josephblt Wagner Lemos (Inactive)
              jenrique@redhat.com Jaime Enriquez (Inactive)
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: