Bug 607548
Summary: | Alert notification: for Resource Operations is failing with NPE | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Sudhir D <sdharane> | ||||
Component: | Alerts | Assignee: | Joseph Marques <jmarques> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 3.0.0 | CC: | jmarques | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-12 16:46:54 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: | 577217, 602788 | ||||||
Attachments: |
|
Sudhir, in the future please also check your server log files and post any stack traces you see to the case as well. I've duplicated this bug in a dev environment. Working on it now. Well, I did check the server log, agent log but did not find anything when I reproduced the issue.. so had to file without any log snippet. Well, I did check the server log, agent log but did not find anything when I reproduced the issue.. so had to file without any log snippet. Sudhir, fair point. In that case, the *lack of* any stack trace in the server log is an important piece of information to note as. Without explicitly stating that, I can't tell whether 1) it didn't generate a stack trace in the log file for you, or 2) you forgot to attach it. In any event, I've isolated the issue and am working on a patch for this bug right now. commit 50294ebe870e04f3673cf075dbf0420dcd083d62 Author: Joseph Marques <joseph> Date: Thu Jun 24 16:16:49 2010 -0400 BZ-607548: prevent NPE when use operation-based alert notifications Verified this on jon-server-2.4.0.GA_QA Build# 42. I don't see the NPE anymore. Mass-closure of verified bugs against JON. |
Created attachment 426524 [details] Resource operation alert notification failure Description of problem: Alert notification for any of the Resource Operations throw NPE when clicked on Save. Version-Release number of selected component (if applicable): jon-server-2.4.0.GA_QA Build# 42. How reproducible: Always Steps to Reproduce: 1. Create an alert for a jboss as server, i.e., RHQ 2. Type: Resource Operations Resource Selection Mode: This Resource 3. Click Save. Actual results: Failed to save alert notification Cause: java.lang.NullPointerException:null is thrown on the screen. Expected results: The page should automatically refresh giving the next option and when clicked on save it should save the settings. Additional info: Screenshot attached.