Bug 760185
Summary: | Global Exception in Events view | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> |
Component: | Core UI | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.2 | CC: | ccrouch, hbrock, hrupp |
Target Milestone: | --- | ||
Target Release: | RHQ 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-31 10:11:21 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: | 730796, 760116 |
Description
Heiko W. Rupp
2011-12-05 15:45:44 UTC
Fixed in master - http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=4f832a4 The key to preventing such NPEs is to know that the value and/or record parameters may be null when the following method in a ListGridField HoverCustomizer is invoked while the ListGrid's data is still loading: public String hoverHTML(Object value, ListGridRecord record, int rowNum, int colNum) So always check for null before trying to access value or record. If they are null, just return null, which tells the ListGrid not to show a tooltip at all. Bulk close of old bugs in VERIFIED state. |