Bug 990198 - ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High
ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High
Status: ASSIGNED
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
4.8
Unspecified Unspecified
unspecified Severity high (vote)
: ---
: ---
Assigned To: Mike Thompson
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-30 10:41 EDT by Mike Foley
Modified: 2013-07-30 10:43 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Foley 2013-07-30 10:41:55 EDT
Description of problem:  ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High

Additional info:

ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High
Possible null pointer dereference of propertyList in org.rhq.enterprise.gui.coregui.client.components.configuration.ConfigurationEditor.buildSummaryRecords(PropertyList, List)

There is a branch of statement that, if executed, guarantees that a null value will be dereferenced, which would generate a NullPointerException when the code is executed. Of course, the problem might be that the branch or statement is infeasible and that the null pointer exception can't ever be executed; deciding that is beyond the ability of FindBugs.

http://jenkins.jonqe.lab.eng.bos.redhat.com:9080/job/rhq-master-build-findbugs/19/findbugsResult/module.-496923596/

MikeT called this out as something he would like to address.

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