Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 04-02 17:32:23.615 4471-4506/com.example.app W/amplify:aws-datastore: Error applying mutation to local storage.
- com.amplifyframework.datastore.DataStoreException: Bad subscription data for MyModel: [Validation error of type FieldUndefined: Field 'id' in type 'MyModel' is undefined @ 'onCreateMyModel/id']
- at com.amplifyframework.datastore.network.SubscriptionAdapter.onNext(SubscriptionAdapter.java:52)
- at com.amplifyframework.datastore.network.SubscriptionAdapter.onNext(SubscriptionAdapter.java:34)
- at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchNextMessage(SubscriptionEndpoint.java:407)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.notifySubscriptionData(SubscriptionEndpoint.java:275)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.processJsonMessage(SubscriptionEndpoint.java:207)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.processMessage(SubscriptionEndpoint.java:172)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.access$100(SubscriptionEndpoint.java:52)
- at com.amplifyframework.api.aws.SubscriptionEndpoint$1.onMessage(SubscriptionEndpoint.java:144)
- at okhttp3.internal.ws.RealWebSocket.onReadMessage(RealWebSocket.kt:290)
- at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.kt:220)
- at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:100)
- at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:247)
- at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:181)
- at okhttp3.RealCall$AsyncCall.run(RealCall.kt:138)
- 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)
- 04-02 17:32:33.283 4471-4509/com.example.app 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.
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onError(ObservableCreate.java:73)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$SubscriptionFunnel.onError(RemoteModelMutations.java:214)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.SubscriptionAdapter.onError(SubscriptionAdapter.java:67)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchError(SubscriptionEndpoint.java:414)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.Observable.subscribe(Observable.java:12267)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.Observable.subscribe(Observable.java:12267)
- 04-02 17:32:33.283 4471-4509/com.example.app W/System.err: at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: at java.lang.Thread.run(Thread.java:818)
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: Caused by: com.amplifyframework.api.ApiException: Subscription not acknowledged.
- 04-02 17:32:33.284 4471-4509/com.example.app W/System.err: ... 25 more
- 04-02 17:32:33.284 4471-4509/com.example.app E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-2
- Process: com.example.app, PID: 4471
- 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.
- at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
- at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onError(ObservableCreate.java:73)
- at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$SubscriptionFunnel.onError(RemoteModelMutations.java:214)
- at com.amplifyframework.datastore.network.SubscriptionAdapter.onError(SubscriptionAdapter.java:67)
- at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.dispatchError(SubscriptionEndpoint.java:414)
- at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121)
- at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84)
- at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447)
- at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394)
- at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206)
- at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227)
- at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193)
- at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139)
- at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73)
- at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda)
- at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40)
- at io.reactivex.Observable.subscribe(Observable.java:12267)
- at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40)
- at io.reactivex.Observable.subscribe(Observable.java:12267)
- at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
- at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
- at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
- at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
- at java.util.concurrent.FutureTask.run(FutureTask.java:237)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
- 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: com.amplifyframework.api.ApiException: Subscription not acknowledged.
- at com.amplifyframework.api.aws.SubscriptionEndpoint$Subscription.awaitSubscriptionReady(SubscriptionEndpoint.java:369)
- at com.amplifyframework.api.aws.SubscriptionEndpoint.requestSubscription(SubscriptionEndpoint.java:121)
- at com.amplifyframework.api.aws.SubscriptionOperation.start(SubscriptionOperation.java:84)
- at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:447)
- at com.amplifyframework.api.aws.AWSApiPlugin.subscribe(AWSApiPlugin.java:394)
- at com.amplifyframework.api.ApiCategory.subscribe(ApiCategory.java:206)
- at com.amplifyframework.datastore.network.AppSyncApi.subscription(AppSyncApi.java:227)
- at com.amplifyframework.datastore.network.AppSyncApi.onCreate(AppSyncApi.java:193)
- at com.amplifyframework.datastore.network.RemoteModelMutations$Subscription$Request.begin(RemoteModelMutations.java:139)
- at com.amplifyframework.datastore.network.RemoteModelMutations.lambda$null$1$RemoteModelMutations(RemoteModelMutations.java:73)
- at com.amplifyframework.datastore.network.-$$Lambda$RemoteModelMutations$Tkw5jUKoQBhIwoANrkV1y8QPp2Y.subscribe(lambda)
- at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40)
- at io.reactivex.Observable.subscribe(Observable.java:12267)
- at io.reactivex.internal.operators.observable.ObservableDefer.subscribeActual(ObservableDefer.java:40)
- at io.reactivex.Observable.subscribe(Observable.java:12267)
- at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
- at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
- at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
- at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
- at java.util.concurrent.FutureTask.run(FutureTask.java:237)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement