title: Logcat error message - Attempted to destroy barrier with non zero count
body: <p>I'm making an android app in Android Studio, integrating ParseCloud and when I try to retrieve some <strong>JSONObject</strong> from the cloud, I get this error message after step-debugging:</p>
  <pre><code>12-13 13:32:34.857 25631-25638/com.parse.starter A/art: art/runtime/barrier.cc:90] Check failed: count_ == 0 (count_=-1, 0=0) Attempted to destroy barrier with non zero count
  12-13 13:32:34.858 25631-25638/com.parse.starter A/art: art/runtime/runtime.cc:366] Runtime aborting --- recursively, so no thread-specific detail!
  12-13 13:32:34.863 25631-25638/com.parse.starter A/art: art/runtime/runtime.cc:366]
  12-13 13:32:34.882 25631-25638/com.parse.starter A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 25638 (JDWP)
  </code></pre>
  <p>Problem arises in this piece of code in <strong>ParseDecoder.java</strong>, precisely on the <code>while</code> line:</p>
  <pre><code>Map&lt;String, Object&gt; convertJSONObjectToMap(JSONObject object) {
      Map&lt;String, Object&gt; outputMap = new HashMap&lt;&gt;();
      Iterator&lt;String&gt; it = object.keys();
      while (it.hasNext()) {
        String key = it.next();
        Object value = object.opt(key);
        outputMap.put(key, decode(value));
      }
      return outputMap;
  }
  </code></pre>
  <p>As I've seen while debugging, the object I wait for is created and is filled with one entry, but then this happens and I'm little bit lost... Any guidance will be great, thank you very much!</p>