Skip to content

Instantly share code, notes, and snippets.

@mindshifter
Created January 30, 2020 12:29
Show Gist options
  • Save mindshifter/d6e5da5f19b13b03f6075018a098e92d to your computer and use it in GitHub Desktop.
Save mindshifter/d6e5da5f19b13b03f6075018a098e92d to your computer and use it in GitHub Desktop.
2020-01-30 14:28:07.687 27148-27148/co.fanati E/LiveLocationSettingsFragment: Global error handler
co.fanati.base.FanaticoAndroidException: Please contact our support. They`ll help you!
at co.fanati.base.BaseFragment.onError(BaseFragment.kt:83)
at co.fanati.main.drawer.settings.privacy.location.LiveLocationSettingsFragment.onError(LiveLocationSettingsFragment.kt:122)
at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:78)
at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:22)
at com.link184.architecture.mvvm.base.MvvmContext$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:131)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:149)
at androidx.lifecycle.LiveData.setValue(LiveData.java:307)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
at androidx.lifecycle.LiveData$1.run(LiveData.java:91)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7770)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
Caused by: kotlinx.serialization.MissingFieldException: Field 'message' is required, but it was missing
at co.fanati.core.model.GeneralResponse.<init>(Unknown Source:14)
at co.fanati.core.model.GeneralResponse$$serializer.deserialize(Unknown Source:53)
at co.fanati.core.model.GeneralResponse$$serializer.deserialize(GeneralResponse.kt:6)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:34)
at kotlinx.serialization.json.internal.StreamingJsonInput.decodeSerializableValue(StreamingJsonInput.kt:33)
at kotlinx.serialization.CoreKt.decode(Core.kt:80)
at kotlinx.serialization.json.Json.parse(Json.kt:126)
at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:76)
at io.ktor.client.features.json.JsonFeature$Feature$install$2.invokeSuspend(JsonFeature.kt:107)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)
@vasile-cazacu
Copy link

2020-01-30 14:31:35.163 31859-32115/co.fanati D/OkHttp: --> POST https://fanati.co/api/location/change
2020-01-30 14:31:35.163 31859-32115/co.fanati D/OkHttp: LANGUAGE: en
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: DEVICE: 2
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NjIzODcsInRva2VuIjoiYWJlNGU2NmExZjUwNmY5OWM2YzI3ZTUwYmI0M2EzMWEiLCJpYXQiOjE1ODAzODA5OTV9.VZVXx1mjcc5xPLI3zWRS_FWV08VQvv1oQb9msxk87Q4
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: User-Agent: android
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: Accept: application/json
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: Accept-Charset: UTF-8
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: Content-Type: application/json
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: Content-Length: 245
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: {"state":true,"lvl":"exact","access":"all","location":{"lat":47.0296292,"lng":28.8428412,"street":"Strada Pușkin","locality":"Кишинэу","country":"Moldova","address":"bloc C, oficiul 4, Strada Pușkin 47/1, Кишинэу 2005, Moldova"}}
2020-01-30 14:31:35.164 31859-32115/co.fanati D/OkHttp: --> END POST (245-byte body)
2020-01-30 14:31:35.199 31859-32091/co.fanati W/Gralloc3: allocator 3.x is not supported
2020-01-30 14:31:35.242 31859-32122/co.fanati D/OkHttp: --> POST https://fanati.co/api/location/update
2020-01-30 14:31:35.242 31859-32122/co.fanati D/OkHttp: LANGUAGE: en
2020-01-30 14:31:35.242 31859-32122/co.fanati D/OkHttp: DEVICE: 2
2020-01-30 14:31:35.242 31859-32122/co.fanati D/OkHttp: AUTHENTICATION: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NjIzODcsInRva2VuIjoiYWJlNGU2NmExZjUwNmY5OWM2YzI3ZTUwYmI0M2EzMWEiLCJpYXQiOjE1ODAzODA5OTV9.VZVXx1mjcc5xPLI3zWRS_FWV08VQvv1oQb9msxk87Q4
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: User-Agent: android
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: Accept: application/json
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: Accept-Charset: UTF-8
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: Content-Type: application/json
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: Content-Length: 190
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: {"lat":47.0296292,"lng":28.8428412,"street":"Strada Pușkin","locality":"Кишинэу","country":"Moldova","address":"bloc C, oficiul 4, Strada Pușkin 47/1, Кишинэу 2005, Moldova"}
2020-01-30 14:31:35.243 31859-32122/co.fanati D/OkHttp: --> END POST (190-byte body)
2020-01-30 14:31:35.686 31859-32122/co.fanati D/OkHttp: <-- 422 Error https://fanati.co/api/location/update (443ms)
2020-01-30 14:31:35.686 31859-32122/co.fanati D/OkHttp: Server: nginx/1.10.3
2020-01-30 14:31:35.686 31859-32122/co.fanati D/OkHttp: Date: Thu, 30 Jan 2020 12:31:36 GMT
2020-01-30 14:31:35.687 31859-32122/co.fanati D/OkHttp: Content-Type: application/json; charset=UTF-8
2020-01-30 14:31:35.687 31859-32122/co.fanati D/OkHttp: Transfer-Encoding: chunked
2020-01-30 14:31:35.687 31859-32122/co.fanati D/OkHttp: Connection: keep-alive
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: <-- 200 OK https://fanati.co/api/location/change (522ms)
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: Server: nginx/1.10.3
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: Date: Thu, 30 Jan 2020 12:31:36 GMT
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: Content-Type: application/json; charset=UTF-8
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: Transfer-Encoding: chunked
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: Connection: keep-alive
2020-01-30 14:31:35.687 31859-32115/co.fanati D/OkHttp: X-Whom: leticia-fw-node
2020-01-30 14:31:35.688 31859-32122/co.fanati D/OkHttp: {"message":"error_location_coordinate"}
2020-01-30 14:31:35.688 31859-32122/co.fanati D/OkHttp: <-- END HTTP (39-byte body)
2020-01-30 14:31:35.688 31859-32115/co.fanati D/OkHttp: {"success":"success_location_update"}
2020-01-30 14:31:35.688 31859-32115/co.fanati D/OkHttp: <-- END HTTP (37-byte body)
2020-01-30 14:31:35.704 31859-31859/co.fanati D/Dialog: mIsSamsungBasicInteraction = false
2020-01-30 14:31:35.704 31859-31859/co.fanati D/Dialog: mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
2020-01-30 14:31:35.705 31859-31907/co.fanati I/WM-WorkerWrapper: Worker result FAILURE for Work [ id=097a53fa-2872-4291-b2be-c9a80af3a462, tags={ co.fanati.main.drawer.settings.privacy.location.cron.LiveLocationWorker } ]
2020-01-30 14:31:35.711 31859-31859/co.fanati I/MultiWindowDecorSupport: updateCaptionType >> DecorView@1e9ec95[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false
2020-01-30 14:31:35.711 31859-31859/co.fanati D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@1e9ec95[]
2020-01-30 14:31:35.738 31859-31859/co.fanati D/ScrollView: initGoToTop
2020-01-30 14:31:35.757 31859-31859/co.fanati D/ViewRootImpl@737defe[MainActivity]: setView = DecorView@1e9ec95[MainActivity] TM=true MM=false
2020-01-30 14:31:35.759 31859-31859/co.fanati E/LiveLocationSettingsFragment: Global error handler
    co.fanati.base.FanaticoAndroidException: Please contact our support. They`ll help you!
        at co.fanati.base.BaseFragment.onError(BaseFragment.kt:83)
        at co.fanati.main.drawer.settings.privacy.location.LiveLocationSettingsFragment.onError(LiveLocationSettingsFragment.kt:122)
        at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:78)
        at com.link184.architecture.mvvm.base.MvvmFragment$onCreate$1.invoke(MvvmFragment.kt:22)
        at com.link184.architecture.mvvm.base.MvvmContext$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2)
        at androidx.lifecycle.LiveData.considerNotify(LiveData.java:131)
        at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:149)
        at androidx.lifecycle.LiveData.setValue(LiveData.java:307)
        at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
        at androidx.lifecycle.LiveData$1.run(LiveData.java:91)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:237)
        at android.app.ActivityThread.main(ActivityThread.java:7770)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
     Caused by: kotlinx.serialization.MissingFieldException: Field 'message' is required, but it was missing
        at co.fanati.core.model.GeneralResponse.<init>(Unknown Source:14)
        at co.fanati.core.model.GeneralResponse$$serializer.deserialize(Unknown Source:53)
        at co.fanati.core.model.GeneralResponse$$serializer.deserialize(GeneralResponse.kt:6)
        at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:34)
        at kotlinx.serialization.json.internal.StreamingJsonInput.decodeSerializableValue(StreamingJsonInput.kt:33)
        at kotlinx.serialization.CoreKt.decode(Core.kt:80)
        at kotlinx.serialization.json.Json.parse(Json.kt:126)
        at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:76)
        at io.ktor.client.features.json.JsonFeature$Feature$install$2.invokeSuspend(JsonFeature.kt:107)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment