Bug 565361 - [raw-config]Rollback failing with Null pointer exception.
Summary: [raw-config]Rollback failing with Null pointer exception.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Rajan Timaniya
URL:
Whiteboard:
Depends On:
Blocks: rhq_spearhead
TreeView+ depends on / blocked
 
Reported: 2010-02-15 02:15 UTC by Preethi Thomas
Modified: 2010-08-12 16:57 UTC (History)
2 users (show)

Fixed In Version: 2.4
Clone Of: 557490
Environment:
Last Closed: 2010-08-12 16:57:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-02-15 02:15:00 UTC
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:

Comment 1 John Sanda 2010-02-16 16:13:40 UTC
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.

Comment 2 wes hayutin 2010-02-16 16:57:34 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 17:02:33 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Preethi Thomas 2010-02-16 17:42:26 UTC
looks like this has been fixed. moving to on_qa

Comment 5 Corey Welton 2010-03-24 03:00:52 UTC
qa -> rtimaniy

Comment 6 Rajan Timaniya 2010-03-26 10:52:25 UTC
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.

Comment 7 Corey Welton 2010-08-12 16:57:58 UTC
Mass-closure of verified bugs against JON.


Note You need to log in before you can comment on or make changes to this bug.