Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1036

JavaScript error when trying to modify action columns in guided decision table

XMLWordPrintable

    • 1
    • Release Notes
    • CR1
    • +
    • Issue of repetitive editing Business Rule Language columns was fixed.
    • Workaround Exists
    • Hide

      Open the table grid (main edit) panel between edits.

      Show
      Open the table grid (main edit) panel between edits.
    • Hide

      To reproduce the issue:

      1. In the fresh installation of RHDM 7.4.0.GA navigate to the RHDM UI -> Menu -> Projects -> Try Samples -> select "Dinner_Party" project and click "OK" button to import it;
      2. navigate to the "NeighborTable" GDT;
      3.Click on "Columns" -> Action columns;
      4. Click on "Edit" next to "Score impact" (score_impact_1.png);
      5. Click on "+" to add new action - for instance "Insert Fact Guest" (score_impact_2.png);
      6. Click on "Finish" button;
      7. Click on "Edit" link again to make new change;
      8. Click on "-" next to the "Guest" and confirm deletion (score_impact_3.png);
      9. Click on "Edit" link again;
      10. Make some change in the existing THEN part and click "Finish" (score_impact_4.png);
      11. Click on "Edit" link;
      12. Make new change in the existing THEN part and click "Finish";
      13. As a result, there will be "Unexpected error - An unexpected error happened. Please try again in a few moments." (score_impact_5.png);
      14. The error is:

      Uncaught exception: Exception caught: Index: -1, Size: 9 Caused by: Index: -1, Size: 9

      15. Any attempt after this point to make a new change (like to add new action) will end up with the same error and new action will not be added;
      16. If we refresh the screen (ctrl+F5 on chrome), it will be possible to add new action.

      The following is logged in the Chrome - developer's tool log file:

      *************************************************
      (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108
      08:55:07.701 org.kie.bc.KIEWebapp-0.js:94023 08:55:07 SEVERE [LogConfiguration] Exception caught: Index: -1, Size: 9
      OsF @ org.kie.bc.KIEWebapp-0.js:94023
      zsF @ org.kie.bc.KIEWebapp-0.js:49478
      EsF @ org.kie.bc.KIEWebapp-0.js:94023
      Jls @ org.kie.bc.KIEWebapp-0.js:85523
      Ils @ org.kie.bc.KIEWebapp-0.js:68692
      Uls @ org.kie.bc.KIEWebapp-0.js:79262
      KQq @ org.kie.bc.KIEWebapp-0.js:93945
      ga_ @ org.kie.bc.KIEWebapp-0.js:30245
      la_ @ org.kie.bc.KIEWebapp-0.js:94214
      Bfs @ org.kie.bc.KIEWebapp-0.js:50084
      ha_ @ org.kie.bc.KIEWebapp-0.js:94214
      D8b @ org.kie.bc.KIEWebapp-0.js:81113
      w8b @ org.kie.bc.KIEWebapp-0.js:84648
      (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108
      08:55:07.704 org.kie.bc.KIEWebapp-0.js:94023 Error: UmbrellaException: Exception caught: Index: -1, Size: 9
      at Zqc.xW [as Gg] (org.kie.bc.KIEWebapp-0.js:93936)
      at Zqc.AW [as Ig] (org.kie.bc.KIEWebapp-0.js:93936)
      at Zqc.wW (org.kie.bc.KIEWebapp-0.js:62906)
      at Zqc.Sib (org.kie.bc.KIEWebapp-0.js:45848)
      at Zqc.Xqc (org.kie.bc.KIEWebapp-0.js:80344)
      at new Zqc (org.kie.bc.KIEWebapp-0.js:35933)
      at uqc (org.kie.bc.KIEWebapp-0.js:84938)
      at tlb (org.kie.bc.KIEWebapp-0.js:49301)
      at ZVu.Glb [as Wd] (org.kie.bc.KIEWebapp-0.js:93937)
      at Wmc (org.kie.bc.KIEWebapp-0.js:82123)
      at vlb (org.kie.bc.KIEWebapp-0.js:78388)
      at ZVu.Llb [as wj] (org.kie.bc.KIEWebapp-0.js:93937)
      at tfr (org.kie.bc.KIEWebapp-0.js:72388)
      at HTMLButtonElement.ghr (org.kie.bc.KIEWebapp-0.js:69085)
      at t8b (org.kie.bc.KIEWebapp-0.js:55133)
      at w8b (org.kie.bc.KIEWebapp-0.js:84648)
      at HTMLButtonElement.eval (org.kie.bc.KIEWebapp-0.js:68108)
      OsF @ org.kie.bc.KIEWebapp-0.js:94023
      AsF @ org.kie.bc.KIEWebapp-0.js:73376
      zsF @ org.kie.bc.KIEWebapp-0.js:49478
      EsF @ org.kie.bc.KIEWebapp-0.js:94023
      Jls @ org.kie.bc.KIEWebapp-0.js:85523
      Ils @ org.kie.bc.KIEWebapp-0.js:68692
      Uls @ org.kie.bc.KIEWebapp-0.js:79262
      KQq @ org.kie.bc.KIEWebapp-0.js:93945
      ga_ @ org.kie.bc.KIEWebapp-0.js:30245
      la_ @ org.kie.bc.KIEWebapp-0.js:94214
      Bfs @ org.kie.bc.KIEWebapp-0.js:50084
      ha_ @ org.kie.bc.KIEWebapp-0.js:94214
      D8b @ org.kie.bc.KIEWebapp-0.js:81113
      w8b @ org.kie.bc.KIEWebapp-0.js:84648
      (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108
      08:55:07.705 org.kie.bc.KIEWebapp-0.js:94023 Error caused by: IndexOutOfBoundsException: Index: -1, Size: 9
      at pWr.xW [as Gg] (org.kie.bc.KIEWebapp-0.js:93936)
      at pWr.AW [as Ig] (org.kie.bc.KIEWebapp-0.js:93936)
      at pWr.vW (org.kie.bc.KIEWebapp-0.js:59076)
      at pWr.EW (org.kie.bc.KIEWebapp-0.js:34946)
      at pWr.Rib (org.kie.bc.KIEWebapp-0.js:35598)
      at new pWr (org.kie.bc.KIEWebapp-0.js:35986)
      at Kss (org.kie.bc.KIEWebapp-0.js:63907)
      at Y5r (org.kie.bc.KIEWebapp-0.js:58231)
      at h6r.q6r [as Pc] (org.kie.bc.KIEWebapp-0.js:93950)
      at Tvy (org.kie.bc.KIEWebapp-0.js:92301)
      at Uvy.bwy [as k_] (org.kie.bc.KIEWebapp-0.js:93987)
      at Byy (org.kie.bc.KIEWebapp-0.js:85548)
      at W5x (org.kie.bc.KIEWebapp-0.js:52921)
      at o9x.p9x [as pZ] (org.kie.bc.KIEWebapp-0.js:93984)
      at h5x (org.kie.bc.KIEWebapp-0.js:80054)
      at x6x (org.kie.bc.KIEWebapp-0.js:60837)
      at FQy.GQy [as V0] (org.kie.bc.KIEWebapp-0.js:93988)
      at DEy.FEy [as M_] (org.kie.bc.KIEWebapp-0.js:93987)
      at Rjob.Sjob [as Th] (org.kie.bc.KIEWebapp-0.js:94365)
      at ujob.vjob [as Gi] (org.kie.bc.KIEWebapp-0.js:94365)
      at mnc.nnc [as dd] (org.kie.bc.KIEWebapp-0.js:93941)
      at mnc.cq [as bd] (org.kie.bc.KIEWebapp-0.js:93933)
      at Dqc (org.kie.bc.KIEWebapp-0.js:89756)
      at uqc (org.kie.bc.KIEWebapp-0.js:84938)
      at tlb (org.kie.bc.KIEWebapp-0.js:49301)
      at ZVu.Glb [as Wd] (org.kie.bc.KIEWebapp-0.js:93937)
      at Wmc (org.kie.bc.KIEWebapp-0.js:82123)
      at vlb (org.kie.bc.KIEWebapp-0.js:78388)
      at ZVu.Llb [as wj] (org.kie.bc.KIEWebapp-0.js:93937)
      at tfr (org.kie.bc.KIEWebapp-0.js:72388)
      at HTMLButtonElement.ghr (org.kie.bc.KIEWebapp-0.js:69085)
      at t8b (org.kie.bc.KIEWebapp-0.js:55133)
      at w8b (org.kie.bc.KIEWebapp-0.js:84648)
      at HTMLButtonElement.eval (org.kie.bc.KIEWebapp-0.js:68108)
      OsF @ org.kie.bc.KIEWebapp-0.js:94023
      AsF @ org.kie.bc.KIEWebapp-0.js:73376
      zsF @ org.kie.bc.KIEWebapp-0.js:49478
      EsF @ org.kie.bc.KIEWebapp-0.js:94023
      Jls @ org.kie.bc.KIEWebapp-0.js:85523
      Ils @ org.kie.bc.KIEWebapp-0.js:68692
      Uls @ org.kie.bc.KIEWebapp-0.js:79262
      KQq @ org.kie.bc.KIEWebapp-0.js:93945
      ga_ @ org.kie.bc.KIEWebapp-0.js:30245
      la_ @ org.kie.bc.KIEWebapp-0.js:94214
      Bfs @ org.kie.bc.KIEWebapp-0.js:50084
      ha_ @ org.kie.bc.KIEWebapp-0.js:94214
      D8b @ org.kie.bc.KIEWebapp-0.js:81113
      w8b @ org.kie.bc.KIEWebapp-0.js:84648
      (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108
      **************************************************

      The same error exists in Opera or Firefox.

      Show
      To reproduce the issue: 1. In the fresh installation of RHDM 7.4.0.GA navigate to the RHDM UI -> Menu -> Projects -> Try Samples -> select "Dinner_Party" project and click "OK" button to import it; 2. navigate to the "NeighborTable" GDT; 3.Click on "Columns" -> Action columns; 4. Click on "Edit" next to "Score impact" (score_impact_1.png); 5. Click on "+" to add new action - for instance "Insert Fact Guest" (score_impact_2.png); 6. Click on "Finish" button; 7. Click on "Edit" link again to make new change; 8. Click on "-" next to the "Guest" and confirm deletion (score_impact_3.png); 9. Click on "Edit" link again; 10. Make some change in the existing THEN part and click "Finish" (score_impact_4.png); 11. Click on "Edit" link; 12. Make new change in the existing THEN part and click "Finish"; 13. As a result, there will be "Unexpected error - An unexpected error happened. Please try again in a few moments." (score_impact_5.png); 14. The error is: Uncaught exception: Exception caught: Index: -1, Size: 9 Caused by: Index: -1, Size: 9 15. Any attempt after this point to make a new change (like to add new action) will end up with the same error and new action will not be added; 16. If we refresh the screen (ctrl+F5 on chrome), it will be possible to add new action. The following is logged in the Chrome - developer's tool log file: ************************************************* (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108 08:55:07.701 org.kie.bc.KIEWebapp-0.js:94023 08:55:07 SEVERE [LogConfiguration] Exception caught: Index: -1, Size: 9 OsF @ org.kie.bc.KIEWebapp-0.js:94023 zsF @ org.kie.bc.KIEWebapp-0.js:49478 EsF @ org.kie.bc.KIEWebapp-0.js:94023 Jls @ org.kie.bc.KIEWebapp-0.js:85523 Ils @ org.kie.bc.KIEWebapp-0.js:68692 Uls @ org.kie.bc.KIEWebapp-0.js:79262 KQq @ org.kie.bc.KIEWebapp-0.js:93945 ga_ @ org.kie.bc.KIEWebapp-0.js:30245 la_ @ org.kie.bc.KIEWebapp-0.js:94214 Bfs @ org.kie.bc.KIEWebapp-0.js:50084 ha_ @ org.kie.bc.KIEWebapp-0.js:94214 D8b @ org.kie.bc.KIEWebapp-0.js:81113 w8b @ org.kie.bc.KIEWebapp-0.js:84648 (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108 08:55:07.704 org.kie.bc.KIEWebapp-0.js:94023 Error: UmbrellaException: Exception caught: Index: -1, Size: 9 at Zqc.xW [as Gg] (org.kie.bc.KIEWebapp-0.js:93936) at Zqc.AW [as Ig] (org.kie.bc.KIEWebapp-0.js:93936) at Zqc.wW (org.kie.bc.KIEWebapp-0.js:62906) at Zqc.Sib (org.kie.bc.KIEWebapp-0.js:45848) at Zqc.Xqc (org.kie.bc.KIEWebapp-0.js:80344) at new Zqc (org.kie.bc.KIEWebapp-0.js:35933) at uqc (org.kie.bc.KIEWebapp-0.js:84938) at tlb (org.kie.bc.KIEWebapp-0.js:49301) at ZVu.Glb [as Wd] (org.kie.bc.KIEWebapp-0.js:93937) at Wmc (org.kie.bc.KIEWebapp-0.js:82123) at vlb (org.kie.bc.KIEWebapp-0.js:78388) at ZVu.Llb [as wj] (org.kie.bc.KIEWebapp-0.js:93937) at tfr (org.kie.bc.KIEWebapp-0.js:72388) at HTMLButtonElement.ghr (org.kie.bc.KIEWebapp-0.js:69085) at t8b (org.kie.bc.KIEWebapp-0.js:55133) at w8b (org.kie.bc.KIEWebapp-0.js:84648) at HTMLButtonElement.eval (org.kie.bc.KIEWebapp-0.js:68108) OsF @ org.kie.bc.KIEWebapp-0.js:94023 AsF @ org.kie.bc.KIEWebapp-0.js:73376 zsF @ org.kie.bc.KIEWebapp-0.js:49478 EsF @ org.kie.bc.KIEWebapp-0.js:94023 Jls @ org.kie.bc.KIEWebapp-0.js:85523 Ils @ org.kie.bc.KIEWebapp-0.js:68692 Uls @ org.kie.bc.KIEWebapp-0.js:79262 KQq @ org.kie.bc.KIEWebapp-0.js:93945 ga_ @ org.kie.bc.KIEWebapp-0.js:30245 la_ @ org.kie.bc.KIEWebapp-0.js:94214 Bfs @ org.kie.bc.KIEWebapp-0.js:50084 ha_ @ org.kie.bc.KIEWebapp-0.js:94214 D8b @ org.kie.bc.KIEWebapp-0.js:81113 w8b @ org.kie.bc.KIEWebapp-0.js:84648 (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108 08:55:07.705 org.kie.bc.KIEWebapp-0.js:94023 Error caused by: IndexOutOfBoundsException: Index: -1, Size: 9 at pWr.xW [as Gg] (org.kie.bc.KIEWebapp-0.js:93936) at pWr.AW [as Ig] (org.kie.bc.KIEWebapp-0.js:93936) at pWr.vW (org.kie.bc.KIEWebapp-0.js:59076) at pWr.EW (org.kie.bc.KIEWebapp-0.js:34946) at pWr.Rib (org.kie.bc.KIEWebapp-0.js:35598) at new pWr (org.kie.bc.KIEWebapp-0.js:35986) at Kss (org.kie.bc.KIEWebapp-0.js:63907) at Y5r (org.kie.bc.KIEWebapp-0.js:58231) at h6r.q6r [as Pc] (org.kie.bc.KIEWebapp-0.js:93950) at Tvy (org.kie.bc.KIEWebapp-0.js:92301) at Uvy.bwy [as k_] (org.kie.bc.KIEWebapp-0.js:93987) at Byy (org.kie.bc.KIEWebapp-0.js:85548) at W5x (org.kie.bc.KIEWebapp-0.js:52921) at o9x.p9x [as pZ] (org.kie.bc.KIEWebapp-0.js:93984) at h5x (org.kie.bc.KIEWebapp-0.js:80054) at x6x (org.kie.bc.KIEWebapp-0.js:60837) at FQy.GQy [as V0] (org.kie.bc.KIEWebapp-0.js:93988) at DEy.FEy [as M_] (org.kie.bc.KIEWebapp-0.js:93987) at Rjob.Sjob [as Th] (org.kie.bc.KIEWebapp-0.js:94365) at ujob.vjob [as Gi] (org.kie.bc.KIEWebapp-0.js:94365) at mnc.nnc [as dd] (org.kie.bc.KIEWebapp-0.js:93941) at mnc.cq [as bd] (org.kie.bc.KIEWebapp-0.js:93933) at Dqc (org.kie.bc.KIEWebapp-0.js:89756) at uqc (org.kie.bc.KIEWebapp-0.js:84938) at tlb (org.kie.bc.KIEWebapp-0.js:49301) at ZVu.Glb [as Wd] (org.kie.bc.KIEWebapp-0.js:93937) at Wmc (org.kie.bc.KIEWebapp-0.js:82123) at vlb (org.kie.bc.KIEWebapp-0.js:78388) at ZVu.Llb [as wj] (org.kie.bc.KIEWebapp-0.js:93937) at tfr (org.kie.bc.KIEWebapp-0.js:72388) at HTMLButtonElement.ghr (org.kie.bc.KIEWebapp-0.js:69085) at t8b (org.kie.bc.KIEWebapp-0.js:55133) at w8b (org.kie.bc.KIEWebapp-0.js:84648) at HTMLButtonElement.eval (org.kie.bc.KIEWebapp-0.js:68108) OsF @ org.kie.bc.KIEWebapp-0.js:94023 AsF @ org.kie.bc.KIEWebapp-0.js:73376 zsF @ org.kie.bc.KIEWebapp-0.js:49478 EsF @ org.kie.bc.KIEWebapp-0.js:94023 Jls @ org.kie.bc.KIEWebapp-0.js:85523 Ils @ org.kie.bc.KIEWebapp-0.js:68692 Uls @ org.kie.bc.KIEWebapp-0.js:79262 KQq @ org.kie.bc.KIEWebapp-0.js:93945 ga_ @ org.kie.bc.KIEWebapp-0.js:30245 la_ @ org.kie.bc.KIEWebapp-0.js:94214 Bfs @ org.kie.bc.KIEWebapp-0.js:50084 ha_ @ org.kie.bc.KIEWebapp-0.js:94214 D8b @ org.kie.bc.KIEWebapp-0.js:81113 w8b @ org.kie.bc.KIEWebapp-0.js:84648 (anonymous) @ org.kie.bc.KIEWebapp-0.js:68108 ************************************************** The same error exists in Opera or Firefox.
    • 2019 Week 38-40 (from Sep 16), 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28)

      After second attempt to change "Then" part in the action column of GDT the following pop up error will be shown:

      **********************************************
      Unexpected error - An unexpected error happened. Please try again in a few moments.
      **********************************************

      and error message will be something like:

      ***********************************************
      Uncaught exception: Exception caught: Index: -1, Size: 9 Caused by: Index: -1, Size: 9
      ***********************************************

      Simplified steps to reproduce

      • Open any guided decision table with BRL column
      • Click Edit that BRL column
      • Click Finish in the shown dialogue
      • Click again Edit that BRL column
      • Again click Finish in the shown dialogue
      • An exception will be thrown

              trikkola Toni Rikkola
              rhn-support-bkramer1 Biljana Kramer
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: