+++ This bug was initially created as a clone of Bug #1038270 +++ Description of problem: UI throws an exception because the resource id has not been assigned to the storage node yet. Version-Release number of selected component (if applicable): 4.10.0-SNAPSHOT How reproducible: always few seconds after the clean installation Steps to Reproduce: 1. install the RHQ 2. go to #Administration/Topology/StorageNodes Actual results: exception in server.log: Caused by: java.lang.NullPointerException at org.rhq.enterprise.server.cloud.StorageNodeManagerBean.findUnackedAlertCounts(StorageNodeManagerBean.java:851) [rhq-server.jar:4.10.0-SNAPSHOT] at org.rhq.enterprise.server.cloud.StorageNodeManagerBean.getStorageNodeComposites(StorageNodeManagerBean.java:639) [rhq-server.jar:4.10.0-SNAPSHOT] Expected results: no exception --- Additional comment from Jirka Kremser on 2013-12-04 14:21:35 EST --- branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=df44d50f6 time: 2013-12-04 20:10:37 +0100 commit: df44d50f6fbbfd570335a7f40a8b98d9d8152a9a author: Jirka Kremser - jkremser message: [BZ 1038270] - NPE when accessing the storage node view immediately after the install - NPE check added
commit bda5d648604fced83bdec5f143e43d62b4d34079 Author: Jirka Kremser <jkremser> Date: Wed Dec 4 20:04:49 2013 +0100 [BZ 1038270] - NPE when accessing the storage node view immediately after the install - NPE check added (cherry picked from commit df44d50f6fbbfd570335a7f40a8b98d9d8152a9a) Signed-off-by: Lukas Krejci <lkrejci>
reverting ^ (bda5d648) and waiting with the cherry-picking until JON 3.2.1 GA is out
Moving to ON_QA as available for test in build: http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.2.GA/6-13-2014_0900/
Verified on Version : 3.2.0.GA Update 02 Build Number : dd34f04:ee37628 Msg There is no configuration available for this node. Is the agent running on the jon322-dr2-p.bc.jonqe.lab.eng.bos.redhat.com? is displayed
This has been verified and released in Red Hat JBoss Operations Network 3.2 Update 02 (3.2.2) available from the Red Hat Customer Portal[1]. [1]: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=31783