title: NullPointerException, but only when I connect my Android phone to computer
body: <p>I'm making Android applications using Android Studio. When I connect my phone to my computer to test my applications, I get this error. And it comes like an endless loop.<br>
  I thought that my app caused this error, but I tested and I realized that it happens when I connect my phone to laptop. I <strong>don't</strong> get this error when I use an emulator. How can I fix this ? And is this a big problem?</p>
  
  <p>I tried this with several projects and the result is the same. And as far as i understand it only occurs when I connect my phone. I mean no need to run a project. I connect the phone and it occurs.</p>
  
  <p>Error:</p>
  
  <pre><code>E/ParseCommandCache: saveEventually thread had an error.
  java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
      at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:116)
      at org.json.JSONTokener.nextValue(JSONTokener.java:94)
      at org.json.JSONObject.&lt;init&gt;(JSONObject.java:156)
      at com.parse.ParseCommand$6.call(ParseCommand.java:438)
      at com.parse.ParseCommand$6.call(ParseCommand.java:1)
      at com.parse.Task$3.run(Task.java:225)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      at java.lang.Thread.run(Thread.java:761)
  </code></pre>