Bug 571885

Summary: rhq alerts, click Add Alert Notifications from Template, causes null pointer
Product: [Other] RHQ Project Reporter: wes hayutin <whayutin>
Component: AgentAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0.0CC: cwelton
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://10.16.120.239:7080//rhq/resource/alert/viewAlert.xhtml?ad=10002&nid=10012&conversationId=135#
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:45:20 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    
Attachments:
Description Flags
ss01
none
ss02
none
ss03
none
trace none

Description wes hayutin 2010-03-09 19:21:40 UTC
Created attachment 398895 [details]
ss01

Description of problem:

Ok, I have no Alert Notification templates, but we should not get a null pointer.

Recreate:
1. create an alert definition
2. add an Alert Notification from template, when you have no alert notification templates
3. get seam error

see screenshots
and trace

Comment 1 wes hayutin 2010-03-09 19:22:10 UTC
Created attachment 398896 [details]
ss02

Comment 2 wes hayutin 2010-03-09 19:22:38 UTC
Created attachment 398897 [details]
ss03

Comment 3 wes hayutin 2010-03-09 19:24:04 UTC
Created attachment 398898 [details]
trace

Comment 4 Heiko W. Rupp 2010-03-22 14:21:57 UTC
Done in 4af7705 

System now displays a message that no templates are defined and how to define them.

Comment 5 Corey Welton 2010-03-22 19:29:24 UTC
QA Verified, user no longer appears to get a seam error.

Comment 6 Corey Welton 2010-08-12 16:45:20 UTC
Mass-closure of verified bugs against JON.