IMPORTANT! The information on this page is unverified and unsupported. Always double-check the accuracy of the solutions provided. Evaluate and test the impact on any environments!
Widgets - Unable to Add Widgets on a Dashboard Page
Description
When trying to add a widget onto a Dashboard, Codebeamer throws the "Sorry, an unexpected system error has occurred." error:
Server logs print:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659) ~[?:1.8.0_302]
at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_302]
at java.util.Collections$UnmodifiableList.get(Collections.java:1311) ~[?:1.8.0_302]
at com.intland.codebeamer.controller.support.dashboard.DashboardControllerSupport.calculatePosition(DashboardControllerSupport.java:856) ~[cb.jar:?]
at com.intland.codebeamer.controller.support.dashboard.DashboardControllerSupport.addWidget(DashboardControllerSupport.java:359) ~[cb.jar:?]
at com.intland.codebeamer.controller.dashboard.DashboardController.addWidget(DashboardController.java:472) ~[cb.jar:?]
Observed on
- Codebeamer 21.09-LTS (EMMA)
Solution
Workaround available: Add the widget after first selecting a desired layout from the menu.
At the time of writing this article, it is not known how to reproduce this issue.
For any other Support options, questions, or inputs, visit: https://intland.com/technical-support/.