ParseObject保存在后台错误中

时间:2017-09-02 19:00:05

标签: java android parse-platform

当我尝试在后台保存ParseObject时(使用Parse Android SDK),它会抛出以下错误(注意:启用了脱机存储):

更新: 通过扩展ParseObject并调用SaveInBackground方法创建了我的子类。

  

解析SDK版本:com.parse:parse-android:1.15.1

 com.parse.ParseException: java.lang.RuntimeException: Attempted to change an objectId to one that's already known to the Offline Store.
                                                                        at com.parse.ParseTaskUtils$2$1.run(ParseTaskUtils.java:114)
                                                                        at android.os.Handler.handleCallback(Handler.java:751)
                                                                        at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                        at android.os.Looper.loop(Looper.java:154)
                                                                        at android.app.ActivityThread.main(ActivityThread.java:6688)
                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
                                                                     Caused by: java.lang.RuntimeException: Attempted to change an objectId to one that's already known to the Offline Store.

0 个答案:

没有答案