title: Getting issue java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) for Spring Security
body: <p>I had checked many things related to this nothing worked for me.</p>
  
  <pre><code>SqlRowSet userTypesqlRowSet = jdbcTemplate.queryForRowSet(USER_TYPE_QUERY, parameters);
  </code></pre>
  
  <p>For this line, I am getting the error.</p>
  
  <p>All the thing working on another system.</p>
  
  <p>I have checked all the libraries.</p>
  
  <p>I verified all the properties.</p>
  
  <p>Find below error log for issue.</p>
  
  <pre><code>17:57:33,070 ERROR [stderr] (http-localhost-127.0.0.1-18080-1) java.lang.NullPointerException
  17:57:33,070 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at java.util.Properties$LineReader.readLine(Properties.java:418)
  17:57:33,070 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at java.util.Properties.load0(Properties.java:337)
  17:57:33,086 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at java.util.Properties.load(Properties.java:325)
  17:57:33,086 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at java.util.PropertyResourceBundle.&lt;init&gt;(PropertyResourceBundle.java:111)
  17:57:33,086 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at com.sun.rowset.JdbcRowSetResourceBundle.&lt;init&gt;(Unknown Source)
  17:57:33,086 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at com.sun.rowset.JdbcRowSetResourceBundle.getJdbcRowSetResourceBundle(Unknown Source)
  17:57:33,102 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at com.sun.rowset.CachedRowSetImpl.&lt;init&gt;(Unknown Source)
  17:57:33,102 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at org.springframework.jdbc.core.SqlRowSetResultSetExtractor.newCachedRowSet(SqlRowSetResultSetExtractor.java:78)
  17:57:33,102 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at org.springframework.jdbc.core.SqlRowSetResultSetExtractor.createSqlRowSet(SqlRowSetResultSetExtractor.java:62)
  17:57:33,117 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at org.springframework.jdbc.core.SqlRowSetResultSetExtractor.extractData(SqlRowSetResultSetExtractor.java:46)
  ...
  
  17:57:33,336 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  17:57:33,351 ERROR [stderr] (http-localhost-127.0.0.1-18080-1)  at java.lang.Thread.run(Thread.java:662)
  17:57:33,351 ERROR [stderr] (http-localhost-127.0.0.1-18080-1) org.springframework.security.authentication.AuthenticationServiceException: Error in loading user ,Please contact system Admin
  </code></pre>