title: this.getClass().getClassLoader().getResource("").getPath() is NPE possible here?
body: <p>I got code review comment that below line could return <code>NPE</code></p>
  
  <pre><code>this.getClass().getClassLoader().getResource("").getPath()
  </code></pre>
  
  <p>As I'm refering self class, is any chance I can get <code>NPE</code>?</p>
  
  <p>I found <a href="https://stackoverflow.com/a/7098501/1665592">this answer</a> which says if I load external file then there is <code>NPE</code> possibility, am I right ?</p>