Advertisement
athacks

MetadataBug

Jul 5th, 2020
4,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I/amplify:aws-datastore: Mutation outbox has pending mutation for d928a675-1443-4013-a180-49746b5c2ad3, refusing to merge.
  2. I/amplify:aws-datastore: Successfully syncd down model state from cloud.
  3. I/amplify:aws-datastore: Starting processing subscription data buffer.
  4. I/amplify:aws-datastore: Started processing the mutation outbox. Pending mutations will be published to the cloud.
  5. W/amplify:aws-datastore: Failed to publish a local change = PendingMutation{mutatedItem=com.amplifyframework.datastore.generated.model.Pour@899c9084, classOfMutatedItem=class com.amplifyframework.datastore.generated.model.Pour, mutationType=DELETE, mutationId=72f5e14c-beeb-11ea-8499-bdd318c05be8, predicate=null}
  6.     AmplifyException {message=Wanted 1 metadata for item with id = d928a675-1443-4013-a180-49746b5c2ad3, but had 0., cause=null, recoverySuggestion=This is likely a bug. please report to AWS.}
  7.         at com.amplifyframework.datastore.syncengine.VersionRepository.extractVersion(VersionRepository.java:25)
  8.         at com.amplifyframework.datastore.syncengine.VersionRepository.lambda$null$0$VersionRepository(VersionRepository.java:1)
  9.         at com.amplifyframework.datastore.syncengine.-$$Lambda$VersionRepository$LCAIsERtpNmpH8Lb4RN9sRgYzuY.accept(Unknown Source:8)
  10.         at com.amplifyframework.datastore.storage.sqlite.SQLiteStorageAdapter.lambda$query$4$SQLiteStorageAdapter(SQLiteStorageAdapter.java:42)
  11.         at com.amplifyframework.datastore.storage.sqlite.-$$Lambda$SQLiteStorageAdapter$CxFeClFgMnCdkUir6dsRxPfXmiA.run(Unknown Source:10)
  12.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
  13.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  14.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
  15.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
  16.         at java.lang.Thread.run(Thread.java:764)
  17. W/amplify:aws-datastore: Error ended observation of mutation outbox:
  18.     java.lang.RuntimeException: AmplifyException {message=Wanted 1 metadata for item with id = d928a675-1443-4013-a180-49746b5c2ad3, but had 0., cause=null, recoverySuggestion=This is likely a bug. please report to AWS.}
  19.         at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:46)
  20.         at io.reactivex.internal.observers.BlockingMultiObserver.blockingAwait(BlockingMultiObserver.java:185)
  21.         at io.reactivex.Completable.blockingAwait(Completable.java:1256)
  22.         at com.amplifyframework.datastore.syncengine.MutationProcessor.lambda$startDrainingMutationOutbox$1$MutationProcessor(MutationProcessor.java:6)
  23.         at com.amplifyframework.datastore.syncengine.-$$Lambda$MutationProcessor$16_SY2WpfPqAOIpje9r5PmD5TVw.apply(Unknown Source:4)
  24.         at io.reactivex.internal.operators.observable.ObservableFlatMapCompletableCompletable$FlatMapCompletableMainObserver.onNext(ObservableFlatMapCompletableCompletable.java:97)
  25.         at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
  26.         at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
  27.         at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
  28.         at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
  29.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  30.         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
  31.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
  32.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
  33.         at java.lang.Thread.run(Thread.java:764)
  34.      Caused by: AmplifyException {message=Wanted 1 metadata for item with id = d928a675-1443-4013-a180-49746b5c2ad3, but had 0., cause=null, recoverySuggestion=This is likely a bug. please report to AWS.}
  35.         at com.amplifyframework.datastore.syncengine.VersionRepository.extractVersion(VersionRepository.java:25)
  36.         at com.amplifyframework.datastore.syncengine.VersionRepository.lambda$null$0$VersionRepository(VersionRepository.java:1)
  37.         at com.amplifyframework.datastore.syncengine.-$$Lambda$VersionRepository$LCAIsERtpNmpH8Lb4RN9sRgYzuY.accept(Unknown Source:8)
  38.         at com.amplifyframework.datastore.storage.sqlite.SQLiteStorageAdapter.lambda$query$4$SQLiteStorageAdapter(SQLiteStorageAdapter.java:42)
  39.         at com.amplifyframework.datastore.storage.sqlite.-$$Lambda$SQLiteStorageAdapter$CxFeClFgMnCdkUir6dsRxPfXmiA.run(Unknown Source:10)
  40.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
  41.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  42.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162
  43.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636
  44.         at java.lang.Thread.run(Thread.java:764
  45. I/amplify:aws-datastore: Successfully sync'd down model state from cloud.
  46. I/zygote64: Do partial code cache collection, code=61KB, data=43KB
  47. I/zygote64: After code cache collection, code=61KB, data=43KB
  48. I/zygote64: Increasing code cache capacity to 256KB
  49. I/zygote64: Do full code cache collection, code=125KB, data=77KB
  50. I/zygote64: After code cache collection, code=93KB, data=46KB
  51. I/zygote64: Do partial code cache collection, code=93KB, data=53KB
  52. I/zygote64: After code cache collection, code=93KB, data=53KB
  53. I/zygote64: Increasing code cache capacity to 512KB
  54. D/Update: IP Updated
  55. W/System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  56. W/System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation
  57. W/System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  58. I/amplify:aws-datastore: Successfully enqueued PendingMutation{mutatedItem=com.amplifyframework.datastore.generated.model.Pour@516426a4, classOfMutatedItem=class com.amplifyframework.datastore.generated.model.Pour, mutationType=UPDATE, mutationId=9fb9fe3f-beeb-11ea-8c8d-e36a92bfc5ac, predicate=null}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement