Bug 565361
| Summary: | [raw-config]Rollback failing with Null pointer exception. | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Preethi Thomas <pthomas> |
| Component: | Configuration | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Rajan Timaniya <rtimaniy> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | jsanda, whayutin |
| Target Milestone: | --- | Keywords: | SubBug |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 557490 | Environment: | |
| Last Closed: | 2010-08-12 16:57:58 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: | 565635 | ||
The rollback was actually happening, but an exception was getting thrown in the JSF action method after the rollback was performed which is why the status message indicated a NPE. ListConfigurationUpdateUIBean was calling ExistingResourceConfigurationUIBean to clear out its copy of the current configuration. This triggered the exception because ExistingResourceConfigurationUIBean is no longer used and has been replaced by the seam components, ResourceConfigurationViewer and ResourceConfigurationEditor. Simply removing the call to ExistingResourceConfigurationUIBean resolved the issue. Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug making sure we're not missing any bugs in rhq_triage looks like this has been fixed. moving to on_qa qa -> rtimaniy Verified on master (build #133) GIT Revision: bf2ad7ab6e9532e4869f4373712fcbc0c04f8618 Modified configuration values many time and created multiple version under history. Select older version and rollback it. Rollback is working fine, its not giving Null Pointer Exception. Mass-closure of verified bugs against JON. |
Description of problem: Rollback failing with Null pointer exception. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: . 1. Edit & save config to generate more than one revision 2. go to config->History 3. Select an older version 4. Click on Rollback to selected buttong Actual results: Rollback failing with Null pointer exception Expected results: Rollback successful Additional info: