if(FeedConstants.PACKAGE_FILE_FILTER.accept(toolPackage)){
try {
NuGetPackageValidationUtil.validatePackage(toolPackage);
} catch (ToolException e) {
LOG.debug(e);
<BUG>return null;
}</BUG>
}
final String toolId = FilenameUtils.removeExtension(normalizeToolPackageName(toolPackage.getName()));
final String nugetVersion = ToolIdUtils.getPackageVersion(toolPackage);

if(FeedConstants.PACKAGE_FILE_FILTER.accept(toolPackage)){
try {
NuGetPackageValidationUtil.validatePackage(toolPackage);
} catch (ToolException e) {
LOG.debug(e);
return GetPackageVersionResult.error(e.getMessage());
}
}
final String toolId = FilenameUtils.removeExtension(normalizeToolPackageName(toolPackage.getName()));
final String nugetVersion = ToolIdUtils.getPackageVersion(toolPackage);
