Bug 584116
Summary: | WarDiscoveryHelper.getContextPath will throw a NullPointerException if contextRoot is null | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
Component: | Monitoring | Assignee: | Heiko W. Rupp <hrupp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.3 | CC: | jshaughn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-29 15:36:28 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: |
Description
Larry O'Leary
2010-04-20 19:19:55 UTC
Fix is in 728a80e So just to re-sync, we believe that the proposed fix would not be sufficient as the contextRoot should have never been null in the first place but rather "/" or " - invalid - " in the event that a problem would have occurred. By assuming "/" in the event of null, it could result in metrics still not being collected correctly based on the context-root not matching for the deployed WAR when we query it from the AS instance. So, this method should still throw an exception. Maybe it should throw a meaningful/descriptive one instead of a NPE? |