Description of problem: Dashboard is not displayed and Globally Uncaught Exception is thrown in RHQ UI: *************************************** java.lang.IllegalArgumentException:Invalid column widths (more widths than columns) [58%, *] --- STACK TRACE FOLLOWS --- Invalid column widths (more widths than columns) [58%, *] at Unknown.Throwable_1(Unknown Source) at Unknown.Exception_1(Unknown Source) at Unknown.RuntimeException_1(Unknown Source) at Unknown.IllegalArgumentException_1(Unknown Source) at Unknown.PortalLayout_0(Unknown Source) at Unknown.$buildPortlets(Unknown Source) at Unknown.onInit_39(Unknown Source) at Unknown.doInit(Unknown Source) at Unknown.create_13(Unknown Source) at Unknown.$getOrCreateJsObj_0(Unknown Source) *************************************** Version-Release number of selected component (if applicable): RHQ 4.12 How reproducible: Sometimes Steps to Reproduce: I didn't manage to reproduce the error. But, our user created a new dashboard and dragged the internal dashboard window (portlet) when this error happened. Actual results: Globally Uncaught Exception is thrown and Dashboard page is not displayed at all (not even Default Dashboard). Expected results: No error is thrown and dashboard is properly displayed. Additional info: This was reported for "rhqadmin" user (it's ID in rhq_principal is 2). So, the following SQL has been executed: SELECT dash.id as DASH_ID, dash.name, prop.id as PROP_ID, prop.name, prop.string_value, port.id as PORT_ID, port.name, port.portlet_key, port.col, port.col_index FROM rhq_dashboard dash LEFT JOIN rhq_config_property prop ON prop.configuration_id = dash.configuration_id LEFT JOIN rhq_dashboard_portlet port ON port.dashboard_id = dash.id WHERE dash.subject_id = 2 AND dash.resource_id IS NULL AND (prop.name = 'widths' OR prop.name = 'columns'); and this resulted in: ********************* DASH_ID NAME PROP_ID NAME STRING_VALUE PORT_ID NAME PORTLET_KEY COL COL_INDEX 10001 Default 24151 widths 31%,* 10001 Recent Operations Operations 1 2 10001 Default 24144 widths 31%,* 10001 Recent Operations Operations 1 2 10001 Default 13408 columns 2 10001 Recent Operations Operations 1 2 10001 Default 24151 widths 31%,* 10002 Alerted or Unavailable Resources ProblemResources 1 1 10001 Default 24144 widths 31%,* 10002 Alerted or Unavailable Resources ProblemResources 1 1 10001 Default 13408 columns 2 10002 Alerted or Unavailable Resources ProblemResources 1 1 10001 Default 24151 widths 31%,* 10003 Recent Alerts RecentAlerts 1 0 10001 Default 24144 widths 31%,* 10003 Recent Alerts RecentAlerts 1 0 10001 Default 13408 columns 2 10003 Recent Alerts RecentAlerts 1 0 10001 Default 24151 widths 31%,* 10004 Mashup Mashup 0 1 10001 Default 24144 widths 31%,* 10004 Mashup Mashup 0 1 10001 Default 13408 columns 2 10004 Mashup Mashup 0 1 10001 Default 24151 widths 31%,* 10005 Inventory Summary InventorySummary 0 0 10001 Default 24144 widths 31%,* 10005 Inventory Summary InventorySummary 0 0 10001 Default 13408 columns 2 10005 Inventory Summary InventorySummary 0 0 10004 EAP-Web 3710054 widths 58%,* 10021 Alerted or Unavailable Resources ProblemResources 0 0 10004 EAP-Web 3816432 widths * 10021 Alerted or Unavailable Resources ProblemResources 0 0 10004 EAP-Web 3816431 columns 1 10021 Alerted or Unavailable Resources ProblemResources 0 0 10004 EAP-Web 3710054 widths 58%,* 10022 Recent Alerts RecentAlerts 0 1 10004 EAP-Web 3816432 widths * 10022 Recent Alerts RecentAlerts 0 1 10004 EAP-Web 3816431 columns 1 10022 Recent Alerts RecentAlerts 0 1 10004 EAP-Web 3710054 widths 58%,* 10023 Timeline ResourceTimeline 0 2 10004 EAP-Web 3816432 widths * 10023 Timeline ResourceTimeline 0 2 10004 EAP-Web 3816431 columns 1 10023 Timeline ResourceTimeline 0 2 ********************* So, from above result, you can see that somehow we added two "widths" rows for each portlet (both EAP-Web and Default) and the one added for EAP-Web has incorrect width string_value.
Guys, any advance on that? A customer of mine got in touch with this issue. What I did in this meantime is create a new user for them, and recreate the dashboards. If I log in with the rhqadmin the dashboard throws this error.