title: JsonNode - null pointer exception
body: <p>I need to get the value in this arrayNode (Just in case, I know it's going to be only one value in the array - Please, don't ask me why, It is the way that I'm receiving it):</p>
  
  <pre><code>"data": {
      "services": [
          "ISP3100008972@some.com"
      ]
  }
  </code></pre>
  
  <p>I'm running this portion of code:</p>
  
  <pre class="lang-java prettyprint-override"><code>ArrayNode arrNode = (ArrayNode) new ObjectMapper().readTree(resBody).path("data").get("services");
  if (arrNode.isArray()) {
      for (final JsonNode objNode : arrNode) {
          serviceId = objNode.get(0).textValue();
          log.info("serviceId: " + serviceId + " is available");
      }
  }
  </code></pre>
  
  <p>I am getting a java.lang.NullPointerException: null in this line:
  serviceId = objNode.get(0).textValue();</p>
  
  <p>Please, can anyone take a look at this? It would be highly appreciated. </p>