title: SonarQube - A "NullPointerException" could be thrown;
body: <p>SonarQube reports this bug to me: <code>A &quot;NullPointerException&quot; could be thrown; &quot;getBody()&quot; can return null.</code></p>
  <p>This is the code:</p>
  <pre><code>if (holdingResponseEntity == null || holdingResponseEntity.getBody() == null || holdingResponseEntity.getBody().getError() || holdingResponseEntity.getBody().getResult() == null) { throw new HoldingNotFoundException(&quot;Holding whit id=&quot; + idHolding + &quot; not found-&quot;); }
  </code></pre>