FindBugs Report

Project Information

Project: Apache Hadoop YARN Timeline Service

FindBugs version: 3.1.0-RC1

Code analyzed:



Metrics

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)



Contents

Summary

Warning Type Number
Dodgy code Warnings 1
Total 1

Warnings

Click on a warning row to see full context information.

Dodgy code Warnings

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

Details

NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE: Possible null pointer dereference 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.