Bug 1186300
Summary: | java.lang.IllegalArgumentException:Invalid column widths (more widths than columns) [58%, *] error thrown in JBoss ON UI | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | bkramer <bkramer> |
Component: | Core Server | Assignee: | Josejulio Martínez <jmartine> |
Status: | CLOSED ERRATA | QA Contact: | Hayk Hovsepyan <hhovsepy> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | JON 3.3.0 | CC: | fbrychta, hhovsepy, jmartine, loleary, renaud.houssin.prestataire, spinder |
Target Milestone: | ER01 | Keywords: | Triaged |
Target Release: | JON 3.3.6 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 15:29:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1186306 | ||
Bug Blocks: |
Description
bkramer
2015-01-27 11:33:59 UTC
We have got the same problem. After create a Dashboard then a Machine Group we loaded a portlet on the Dashboard then impossible to go back to the Dashboard... @Renaud do you have more specifics on how you get into the situation? I am assuming you create a new blank dashboard and then create a resource group. What is in the resource group? Platform resources only? Are they recursive? Is this a compatible group? Then, you go to your newly created and blank dashboard and add a portlet? What portlet? Are you setting any configuration on the portlet? Anything else? Can you reproduce this consistently? @Larry, Hi, thank's for you quickly answer. first time, i want to prevent that we are newbie on JBoss ON and we are just testing the functionnalities of the application. - What is in the resource group? Platform resources only? Are they recursive? Is this a compatible group? In our infrastructure we want to manage some JVM JBoss Servers. We've got One Domain Controller who manage 2 JBoss Hosts Controller that contain 2 JVM per Host. The Group i created was a JVM Group and more specifically the memory ressources on the differents JVM. They not recursive and i guess this is a compatible group. - Then, you go to your newly created and blank dashboard and add a portlet? What portlet? Are you setting any configuration on the portlet? Anything else? We created a Dashboard to manage everything on a JVM. after created the Memory group i went in the Inventory Tab > All Groups > The Memory group. In the memory group i went into the monitoring tab. Then, i used "Add to Dashboard" from the Metric tab to add the Heap Used Graph on the Dashboard Since this action the Dashboard Tab isn't available and display the Exception. Can you reproduce this consistently? Actually, we don't know how to display back our Dashboards... Thanks for your help @Renaud, in that case see the knowledge solution which provides a workaround for the issue: https://access.redhat.com/solutions/708833 Thanks a lot we solved the problem. commit 1d73d1e8a7bbc5ec3c99893f39bcb965e5371e17 Merge: 4d67d2e 517c86c Author: Michael Burman <yak> Date: Mon Jun 6 23:27:54 2016 +0300 Merge pull request #259 from josejulio/bugs/1186300 Bug 1186300 - java.lang.IllegalArgumentException:Invalid column width… commit 517c86ca9aa7217b2756d550e22823e90df7682d Author: Josejulio Martínez <jmartine> Date: Thu May 26 11:44:07 2016 -0500 Bug 1186300 - java.lang.IllegalArgumentException:Invalid column widths (more widths than columns) [58%, *] error thrown in JBoss ON UI Property 'width' was duplicated for configuration's dashboards. These duplicated values may yield the error when the incorrect 'width' is selected (I guess that the lower id is selected). I couldn't reproduce this bug on any way and couldn't find any way for it to happen on the code. I propose a "fix when it happens". When detecting more widths than columns, trim the additional widths and attach fresh Configuration with the same Properties as the current Property (this deletes duplicates in case they exist). On server-side, old configuration is deleted. Moving to ON_QA as available to test with the following build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=502442 Note: jon-server-patch-3.3.0.GA.zip maps to JON 3.3.6(jon-server-3.3.0.GA-update-06.zip) Verified on revision jon-server-3.3.0.GA-update-06. Was able to reproduce the error only by hacking the database (i.e. have the set ow rows described in bz), and saw the error in dashboard page. On fixed version the dashboard is shown correctly and it is possible to add new graphs there. Actually issue was not connected to "Compatible Groups", it was dashboard problem and was happening to all dashboards. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1519.html |