Bug 755564 - Hibernate exception in server log after NPE in agent plugin
Summary: Hibernate exception in server log after NPE in agent plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.2
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: JON 3.0.0,RHQ 4.3.0
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: jon30-sprint9
TreeView+ depends on / blocked
 
Reported: 2011-11-21 13:40 UTC by Heiko W. Rupp
Modified: 2012-02-07 19:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 19:23:38 UTC
Embargoed:


Attachments (Terms of Use)
Stacktrace (76.45 KB, text/plain)
2011-11-21 13:40 UTC, Heiko W. Rupp
no flags Details

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


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