Article - CS400661

Unable to add widgets on a dashboard page in Codebeamer

Modified: 28-Sep-2023   


Applies To

  • Codebeamer 21.09 to 2.0

Description

  • When trying to add a widget onto a dashboard, Codebeamer throws the Sorry, an unexpected system error has occurred error:
  • image.png
  • Server logs print:
  • ERROR admin.errorhandling.ErrorHandlerFilter - Index 0 out of bounds for length 0 [catalina-exec-27] [214] {Req#=732008, Sess#=79c..b0e, serverId=server}
    java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
        at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
        at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
        at java.util.Objects.checkIndex(Objects.java:361) ~[?:?]
        at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
        at java.util.Collections$UnmodifiableList.get(Collections.java:1347) ~[?:?]
        at com.intland.codebeamer.controller.support.dashboard.DashboardControllerSupport.calculatePosition(DashboardControllerSupport.java:954) ~[cb-2.0.0.1.jar:?]
        at com.intland.codebeamer.controller.support.dashboard.DashboardControllerSupport.addWidget(DashboardControllerSupport.java:432) ~[cb-2.0.0.1.jar:?]
        at com.intland.codebeamer.controller.dashboard.DashboardController.addWidget(DashboardController.java:495) ~[cb-2.0.0.1.jar:?]
This is a printer-friendly version of Article 400661 and may be out of date. For the latest version click CS400661