Despite by best efforts in SecuredUpload::isValidFile and PricatParseExcelHtmlThread::storePricatFile SpotBugs still reports possible null dereferencements. The error is NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE. It's false reports to me. Hence excluding them in these places