Advertisement
athacks

DataStore Exception

Apr 3rd, 2020
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 13.43 KB | None | 0 0
  1. 04-03 14:45:39.176 4691-4691/com.example.myapp E/RecyclerView: No adapter attached; skipping layout
  2. 04-03 14:45:42.002 4691-4724/com.example.myapp W/amplify:aws-datastore: Error applying mutation to local storage.
  3.     com.amplifyframework.datastore.DataStoreException: Bad subscription data for MyModel: [Validation error of type FieldUndefined: Field 'id' in type 'MyModel' is undefined @ 'onCreateMyModel/id', Validation error of type FieldUndefined: Field 'notes' in type 'MyModel' is undefined @ 'onCreateMyModel/notes']
  4.         at com.amplifyframework.datastore.network.SubscriptionAdapter.onNext(SubscriptionAdapter.java:52)
  5.         at com.amplifyframework.datastore.network.SubscriptionAdapter.onNext(SubscriptionAdapter.java:34)
  6.         at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchNextMessage(SubscriptionEndpoint.java:407)
  7.         at com.amplifyframework.api.aws.SubscriptionEndpoint.notifySubscriptionData(SubscriptionEndpoint.java:275)
  8.         at com.amplifyframework.api.aws.SubscriptionEndpoint.processJsonMessage(SubscriptionEndpoint.java:207)
  9.         at com.amplifyframework.api.aws.SubscriptionEndpoint.processMessage(SubscriptionEndpoint.java:172)
  10.         at com.amplifyframework.api.aws.SubscriptionEndpoint.access$100(SubscriptionEndpoint.java:52)
  11.         at com.amplifyframework.api.aws.SubscriptionEndpoint$1.onMessage(SubscriptionEndpoint.java:144)
  12.         at okhttp3.internal.ws.RealWebSocket.onReadMessage(RealWebSocket.kt:290)
  13.         at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.kt:220)
  14.         at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:100)
  15.         at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:247)
  16.         at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:181)
  17.         at okhttp3.RealCall$AsyncCall.run(RealCall.kt:138)
  18.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  19.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  20.         at java.lang.Thread.run(Thread.java:818)
  21. 04-03 14:45:51.725 4691-4727/com.example.myapp W/System.err: io.reactivex.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | com.amplifyframework.api.ApiException: Subscription not acknowledged.
  22. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
  23. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onError(ObservableCreate.java:73)
  24. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$SubscriptionFunnel.onError(RemoteModelMutations.java:214)
  25. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.SubscriptionAdapter.onError(SubscriptionAdapter.java:67)
  26. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchError(SubscriptionEndpoint.java:414)
  27. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369)
  28. 04-03 14:45:51.726 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121)
  29. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84)
  30. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447)
  31. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394)
  32. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206)
  33. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227)
  34. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193)
  35. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139)
  36. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73)
  37. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda)
  38. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40)
  39. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at io.reactivex.Observable.subscribe(Observable.java:12267)
  40. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40)
  41. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at io.reactivex.Observable.subscribe(Observable.java:12267)
  42. 04-03 14:45:51.727 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
  43. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
  44. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
  45. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
  46. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
  47. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
  48. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
  49. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  50. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  51. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:     at java.lang.Thread.run(Thread.java:818)
  52. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err: Caused by: com.amplifyframework.api.ApiException: Subscription not acknowledged.
  53. 04-03 14:45:51.728 4691-4727/com.example.myapp W/System.err:    ... 25 more
  54. 04-03 14:45:51.729 4691-4727/com.example.myapp E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-2
  55.     Process: com.example.myapp, PID: 4691
  56.     io.reactivex.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | com.amplifyframework.api.ApiException: Subscription not acknowledged.
  57.         at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
  58.         at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onError(ObservableCreate.java:73)
  59.         at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$SubscriptionFunnel.onError(RemoteModelMutations.java:214)
  60.         at com.amplifyframework.datastore.network.SubscriptionAdapter.onError(SubscriptionAdapter.java:67)
  61.         at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchError(SubscriptionEndpoint.java:414)
  62.         at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369)
  63.         at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121)
  64.         at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84)
  65.         at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447)
  66.         at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394)
  67.         at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206)
  68.         at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227)
  69.         at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193)
  70.         at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139)
  71.         at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73)
  72.         at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda)
  73.         at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40)
  74.         at io.reactivex.Observable.subscribe(Observable.java:12267)
  75.         at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40)
  76.         at io.reactivex.Observable.subscribe(Observable.java:12267)
  77.         at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
  78.         at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
  79.         at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
  80.         at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
  81.         at java.util.concurrent.FutureTask.run(FutureTask.java:237)
  82.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
  83.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
  84.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  85.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  86.         at java.lang.Thread.run(Thread.java:818)
  87.      Caused by: com.amplifyframework.api.ApiException: Subscription not acknowledged.
  88.         at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369) 
  89.         at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121) 
  90.         at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84) 
  91.         at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447) 
  92.         at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394) 
  93.         at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206) 
  94.         at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227) 
  95.         at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193) 
  96.         at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139) 
  97.         at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73) 
  98.         at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda) 
  99.         at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40) 
  100.         at io.reactivex.Observable.subscribe(Observable.java:12267) 
  101.         at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40) 
  102.         at io.reactivex.Observable.subscribe(Observable.java:12267) 
  103.         at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96) 
  104.         at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578) 
  105.         at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66) 
  106.         at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57) 
  107.         at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
  108.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152) 
  109.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265) 
  110.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
  111.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
  112.         at java.lang.Thread.run(Thread.java:818) 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement