Steve Loughran created HADOOP-19119:
---------------------------------------
Summary: spotbugs complaining about possible NPE in
org.apache.hadoop.crypto.key.kms.ValueQueue.alueQueue.getSize()
Key: HADOOP-19119
URL: https://issues.apache.org/jira/browse/HADOOP-19119
Project: Hadoop Common
Issue Type: Sub-task
Components: crypto
Affects Versions: 3.5.0
Reporter: Steve Loughran
Assignee: Steve Loughran
PRs against hadoop-common are reporting spotbugs problems
{code}
Dodgy code Warnings
Code Warning
NP Possible null pointer dereference in
org.apache.hadoop.crypto.key.kms.ValueQueue.getSize(String) due to return value
of called method
Bug type NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE (click for details)
In class org.apache.hadoop.crypto.key.kms.ValueQueue
In method org.apache.hadoop.crypto.key.kms.ValueQueue.getSize(String)
Local variable stored in JVM register ?
Dereferenced at ValueQueue.java:[line 332]
Known null at ValueQueue.java:[line 332]
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]