Bug 990198 - ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High
Summary: ConfigurationEditor.java:1085, NP_NULL_ON_SOME_PATH, Priority: High
Keywords:
Status: ASSIGNED
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-30 14:41 UTC by Mike Foley
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Mike Foley 2013-07-30 14:41:55 UTC
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.