Bug 864329

Summary: Create Child Resource with incorrect configuration leads to "NPE" thrown on GUI - Child history
Product: [Other] RHQ Project Reporter: Armine Hovsepyan <ahovsepy>
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: low    
Version: 4.5CC: hrupp, mfoley
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
childHistory_NPE none

Description Armine Hovsepyan 2012-10-09 03:41:27 EDT
Created attachment 623954 [details]

Description of problem:
Create child resource for "null" configuration leads to NPE thrown on GUI child history log area.

Version-Release number of selected component (if applicable):
JON 3.1.1 GA

How reproducible:

Steps to Reproduce:
1. get rhq resource of Postgres Server -> resource
2. run the following CLI command ResourceFactoryManager.createResource(resourceId, resourceId, resourceNameStr, new Configuration(), new Configuration(), timeOutInt);

Actual results:
NPE on GUI for rhq resource child history

Expected results:
exception is catch and "reasonable" text instead of NPE shown as log for child history.

Additional info:
Screenshot is attached.