I am using a Map in java i am getting null pointer exception when i use this
if(!GenericValidator.isBlankOrNull(itemsImagesMap.get(item.getuserId()).toString()))
The map does not contain this userId but i have checked !GenericValidator.isBlankOrNull but then also i am getting null pointer exception..