Bug 991257
| Summary: | Spurious Globally uncaught Exception: (TypeError): 'null' is not an object | |||
|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Mike Thompson <mithomps> | |
| Component: | Core UI | Assignee: | Nobody <nobody> | |
| Status: | ON_QA --- | QA Contact: | ||
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.9 | CC: | hrupp | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 993451 (view as bug list) | Environment: | ||
| Last Closed: | 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: | ||||
| Bug Blocks: | 993451 | |||
|
Description
Mike Thompson
2013-08-02 02:08:07 UTC
The mentioned above code is the cause the problem line is in the custom destroy of an implicit regular form not an EnhancedForm by the EnhancedUtility.java:83:
static public <T extends Layout> void destroyMembers(T layout) {
if (null == layout) {
return;
}
Canvas[] members = layout.getMembers();
if (null == members) {
return;
}
for (Canvas currentMember : members) {
>>>>> layout.removeMember(currentMember);
currentMember.destroy();
}
}
Will consult with Jay on this Monday.
I fixed this one to work on both FireFox and Chrome. Safari still throws the Globally uncaught exception, however everything actually works just fine. It will take some more difficult work to find out why this fails for Safari.I will create a separate BZ for Safari. master commit id: 59eaa50 |