Bug 547716
Summary: | [raw-config] exception thrown when clicking on platform name | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Preethi Thomas <pthomas> | ||||
Component: | Configuration | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | unspecified | CC: | jsanda | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-12 16:50:59 UTC | Type: | --- | ||||
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: | |||||||
Bug Blocks: | 538114 | ||||||
Attachments: |
|
This exception happened as a result of my fix for bug 544316. I added logic to account for raw config which caused a NPE when the resource has no configuration definition associated with it. I have altogether removed that logic as it really does not make sense in light of raw config. The logic was an optimization that checked for existence of config property definitions. If there were no property definitions, no query is executed. With raw config though, a resource can have a config definition that does not have any property definitions. The commit hash for this change is, 0050ae7cdf3e8e226f728b1d64f9effde315fa76 This seems to be have been fixed in the latest raw-config branch build. moving to on_qa to test after integration http://10.16.120.159:7080 verified in master. No traceback when clicking on the platform link. http://10.16.120.159:7080/rhq/resource/summary/overview.xhtml?id=10001 Mass-closure of verified bugs against JON. |
Created attachment 378509 [details] traceback Description of problem: traceback thrown when you click on Resources->Platform-> <platform-name> Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Login to the RHQ server 2. Import a resource 3. Navigate to Resources->Platform 4. Click on the platform name Actual results: trace back javax.el.ELException: /rhq/resource/summary/table/recentConfigUpdates.xhtml @16,69 value="#{ResourceOverviewUIBean.recentConfigChanges}": Error reading 'recentConfigChanges' on type org.rhq.enterprise.gui.inventory.resource.ResourceOverviewUIBean Expected results: no exception Additional info: Trace back attached.