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.
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.
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.