When load the properties file I get a java.lang.NullPointerException
This is a simple java swing application, try to read the properties file with following code get java.lang.NullPointerException
:
InputStream inputStream;
Properties properties;
inputStream = new FileInputStream("C:/Config/config.properties");
properties.load(inputStream);