title: Sonar : Possible null pointer dereference due to return value of called method
body: <pre><code>if (response != null &amp;&amp; response.getBody() != null &amp;&amp; response.getStatusCode() == HttpStatus.OK) {
          return new BigDecimal(response.getBody());
  }
  </code></pre>
  <p>I am getting possible null pointer dereference due to return value of called method on above code.</p>
  <p>Can someone please let me know the exact issue and why it's an issue?</p>
  <pre><code>response.getBody() // returns a string value
  </code></pre>
  <p>Thanks in advance! Please let me know if any other details are needed.</p>