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

Online DMN Editor won't load after several tabs are opened

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Try DMN sample - 2 loading popups issue:

      1. Start Windows virtual machine with 2 CPUs.
      2. Start online editor inside the machine.
      3. Open 10 Chrome tabs with the online editor.
      4. Click Try sample (DMN) in all the tab.
      5. Some of tabs won't load DMN editor.

      Create new DMN - opening error issue:

      1. Start Windows virtual machine with 2 CPUs.
      2. Start online editor inside the machine.
      3. Open 10 Chrome tabs with the online editor.
      4. Click Create new decision model (DMN) in all the tab.
      5. Some of tabs will display opening error.
      Show
      Try DMN sample - 2 loading popups issue: Start Windows virtual machine with 2 CPUs. Start online editor inside the machine. Open 10 Chrome tabs with the online editor. Click Try sample (DMN) in all the tab. Some of tabs won't load DMN editor. Create new DMN - opening error issue: Start Windows virtual machine with 2 CPUs. Start online editor inside the machine. Open 10 Chrome tabs with the online editor. Click Create new decision model (DMN) in all the tab. Some of tabs will display opening error.

      Description

      On slow machines the online editor won't open DMN editor and error are displayed. There are two issues (see Step to reproduce).

      1. Try DMN sample - 2 loading popups issue
      On some windows DMN editor is not opened and two loading popups are displayed. There is an error inside consle log:

      Uncaught (in promise) TypeError: Cannot read property 'languages' of undefined
          at uQk (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24045)
          at vQk.wQk [as VC] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24343)
          at xQk.EQk [as VC] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24343)
          at dXk.aXk [as vD] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24344)
          at EXp.GXp [as KK] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24377)
          at e8o (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:7944)
          at c8o (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:19103)
          at Function.t8o (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24372)
          at d (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:17236)
      

      2. Create new DMN - opening error issue
      On some windows DMN editor is not opened and errors are displayed. There is an error inside consle log:

      :9001/#/editor/dmn:1 Uncaught (in promise) TypeError: Cannot read property 'iR' of undefined
          at dXk.UWk [as dD] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24344)
          at nXk.vXk [as dD] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24344)
          at FVk.GVk [as dD] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24344)
          at RVk.VVk [as dD] (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24344)
          at $wnd.GWTEditor.getContent (org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:24012)
          at DmnEditorImpl.module.exports../src/common/GwtEditorWrapper.tsx.GwtEditorWrapper.getContent (index.js?7f42:351)
          at DmnEditorEnvelopeApiImpl.module.exports../src/envelope/KogitoEditorEnvelopeApiImpl.ts.KogitoEditorEnvelopeApiImpl.receive_contentRequest (index.js?a878:1140)
          at EnvelopeBusMessageManager.module.exports../src/common/EnvelopeBusMessageManager.ts.EnvelopeBusMessageManager.receive (index.js?69c4:345)
          at Object.receive (index.js?69c4:234)
          at EnvelopeBusController.module.exports../src/envelope/EnvelopeBusController.ts.EnvelopeBusController.receive (index.js?69c4:516)
          at eventListener (index.js?69c4:497)
      

        Attachments

          Activity

            People

            Assignee:
            tfernand Tiago Bento
            Reporter:
            tomasdavidorg Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: