Closed
Description
Hey,
we are using the Parse Android SDK in version 1.10.1 in our app and we are experiencing some NPEs in our current live version. There is no way to reproduce it reliably but i will attach a stacktrace. The crash does not seem to be platform specific or device specific.
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.support.v4.content.ModernAsyncTask$3.done(ModernAsyncTask.java:137)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to get length of null array
at com.parse.ParseKeyValueCache.saveToKeyValueCache(ParseKeyValueCache.java:141)
at com.parse.NetworkQueryController$1.then(NetworkQueryController.java:70)
at com.parse.NetworkQueryController$1.then(NetworkQueryController.java:63)
at bolts.Task$14.run(Task.java:784)
at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)
at bolts.Task.completeImmediately(Task.java:775)
at bolts.Task.continueWith(Task.java:574)
at bolts.Task.continueWith(Task.java:585)
at bolts.Task$12.then(Task.java:679)
at bolts.Task$12.then(Task.java:667)
at bolts.Task$15.run(Task.java:825)
... 3 more