Null pointer exception for file in test/resource

java read properties file from resources
intellij add resource folder to classpath
intellij read file from resource folder
java read file from resources
null pointer exception in testng xml
null pointer exception testing
null pointer exception while reading properties file in eclipse
extent report null pointer exception