Bug 755564

Summary: Hibernate exception in server log after NPE in agent plugin
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core ServerAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.2CC: hrupp, mazz
Target Milestone: ---   
Target Release: JON 3.0.0, RHQ 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:23:38 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: 752488    
Attachments:
Description Flags
Stacktrace none

Description Heiko W. Rupp 2011-11-21 13:40:17 UTC
Created attachment 534780 [details]
Stacktrace

The as7 plugin has a NPE when the result can not be obtained.

After this shows, the server spits Hibernate issues  - see attachment

Comment 1 Mike Foley 2011-11-22 15:22:14 UTC
setting priority to urgent and sprint #9 blocker

Comment 2 John Mazzitelli 2011-11-22 15:43:53 UTC
ResourceError.setSummary should check for null and if so, set the summary to a generic error message to avoid an NPE later when the entity is persisted.

master git commit 6fd3fb7

this is not in any release branch.

heiko - can you verify this fixes your issue?

Comment 3 Heiko W. Rupp 2011-11-23 09:21:35 UTC
verified and cherry-picked to the release branch as 55b0203c669

Comment 4 Mike Foley 2012-02-07 19:23:38 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Comment 5 Mike Foley 2012-02-07 19:26:07 UTC
marking VERIFIED JON 3 bugs to CLOSED/CURRENTRELEASE