Project: Apache Hadoop YARN Timeline Service
FindBugs version: 3.1.0-RC1
Code analyzed:
3344 lines of code analyzed, in 83 classes, in 6 packages.
| Metric | Total | Density* |
|---|---|---|
| High Priority Warnings | 0.00 | |
| Medium Priority Warnings | 1 | 0.30 |
| Total Warnings | 1 | 0.30 |
(* Defects per Thousand lines of non-commenting source statements)
| Warning Type | Number |
|---|---|
| Dodgy code Warnings | 1 |
| Total | 1 |
Click on a warning row to see full context information.
| Code | Warning |
|---|---|
| NP | Possible null pointer dereference in org.apache.hadoop.yarn.server.timelineservice.storage.FileSystemTimelineReaderImpl.getEntities(File, String, TimelineEntityFilters, TimelineDataToRetrieve) due to return value of called method |
The return value from a method is dereferenced without a null check,
and the return value of that method is one that should generally be checked
for null. This may lead to a NullPointerException when the code is executed.