Bug 1038270 - NPE when accessing the storage node view immediately after the install
Summary: NPE when accessing the storage node view immediately after the install
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server, Storage Node
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHQ 4.10
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1078488
TreeView+ depends on / blocked
 
Reported: 2013-12-04 19:01 UTC by Jirka Kremser
Modified: 2014-04-23 12:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1078488 (view as bug list)
Environment:
Last Closed: 2014-04-23 12:32:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Jirka Kremser 2013-12-04 19:01:37 UTC
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

Comment 1 Jirka Kremser 2013-12-04 19:21:35 UTC
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

Comment 2 Heiko W. Rupp 2014-04-23 12:32:30 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.


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