Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Crash on 5.0.0 - "Unrecognized operation: login-user-from-subscription" #1814

Closed
tajchert opened this issue Aug 24, 2023 · 30 comments · Fixed by #1845
Closed

[Bug]: Crash on 5.0.0 - "Unrecognized operation: login-user-from-subscription" #1814

tajchert opened this issue Aug 24, 2023 · 30 comments · Fixed by #1845

Comments

@tajchert
Copy link

tajchert commented Aug 24, 2023

What happened?

I see crash on few devices (Android 11 and 10 for sure).
This is on calling OneSignal.initWithContext()

Steps to reproduce?

-

What did you expect to happen?

OneSignal Android SDK version

5.0.0

Android version

11, 10

Specific Android models

* Galaxy A31
* Galaxy A7 (2018)
* Galaxy S9+
* Moto G(9) Plus
* Nokia 9

Relevant log output

Stacktrace:

Caused by java.lang.reflect.InvocationTargetException:
       at java.lang.reflect.Constructor.newInstance0(Constructor.java)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:90)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:83)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceProvider.getService$core_release(ServiceProvider.kt:40)
       at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:197)
       at com.onesignal.OneSignal.initWithContext(OneSignal.kt:126)
       at pl.tajchert.canary.CanaryApp.onCreate(CanaryApp.kt:66)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7593)
       at android.app.ActivityThread.access$1500(ActivityThread.java:301)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:246)
       at android.app.ActivityThread.main(ActivityThread.java:8653)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

Caused by java.lang.Exception: Unrecognized operation: login-user-from-subscription
       at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:58)
       at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:27)
       at com.onesignal.common.modeling.ModelStore.load(ModelStore.kt:129)
       at com.onesignal.core.internal.operations.impl.OperationModelStore.<init>(OperationModelStore.kt:30)
       at java.lang.reflect.Constructor.newInstance0(Constructor.java)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:90)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:83)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceProvider.getService$core_release(ServiceProvider.kt:40)
       at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:197)
       at com.onesignal.OneSignal.initWithContext(OneSignal.kt:126)
       at pl.tajchert.canary.CanaryApp.onCreate(CanaryApp.kt:66)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7593)
       at android.app.ActivityThread.access$1500(ActivityThread.java:301)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:246)
       at android.app.ActivityThread.main(ActivityThread.java:8653)
       at java.lang.reflect.Method.invoke(Method.java)


### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

<!-- probot = {"onesignal-probot":{"response_time_in_business_days":1}} -->
@jennantilla
Copy link
Contributor

Hi @tajchert thanks for reaching out! We'll investigate this. Just to confirm, this does not happen with every device you've tested, only some? Are you migrating from a previous version of our SDK or is this a fresh install of 5.0.0?

@tajchert
Copy link
Author

Hi,
I was not able to reproduce this locally.
Yes, this happens only in case of very few users of my app (<1%).
In my previous app release I used Onesignal 4.8.3 SDK.

I don't know if in case of those users it was upgrade or clean install sadly.

@atanasovdejan
Copy link

I am having the same issue on my side after upgrading to version 5.

I can see that it's happening on Android 12 and 13 too.

@vknow360
Copy link

vknow360 commented Aug 27, 2023

I am having same issue as well. Checked on Android 13.
Here is logcat:

08-27 17:41:40.205  9446  9446 W System.err:  java.lang.reflect.InvocationTargetException
08-27 17:41:40.205  9446  9446 W System.err: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
08-27 17:41:40.205  9446  9446 W System.err: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceRegistrationReflection.resolve(Unknown Source:217)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceProvider.getServiceOrNull(Unknown Source:50)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceProvider.getService(Unknown Source:5)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceRegistrationReflection.resolve(Unknown Source:187)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceProvider.getServiceOrNull(Unknown Source:50)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.common.services.ServiceProvider.getService(Unknown Source:5)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.internal.OneSignalImp.initWithContext(Unknown Source:78)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.onesignal.OneSignal.initWithContext(Unknown Source:16)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.sunny.push.OneSignalPush.Init(Unknown Source:11)
08-27 17:41:40.205  9446  9446 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.expr.PrimProcedure.apply(Unknown Source:182)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.mapping.CallContext.runUntilDone(Unknown Source:8)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.mapping.CallContext.runUntilValue(Unknown Source:10)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.mapping.MethodProc.applyN(Unknown Source:11)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.kawa.reflect.Invoke.applyN(Unknown Source:237)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.kawa.functions.ApplyToArgs.applyN(Unknown Source:17)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.kawa.functions.Apply.applyN(Unknown Source:7)
08-27 17:41:40.205  9446  9446 W System.err: 	at gnu.mapping.ProcedureN.apply2(Unknown Source:9)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.google.youngandroid.runtime.callComponentMethod(Unknown Source:57)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.appzard.vknow360.Push.Screen1.Button1$Click(Unknown Source:15)
08-27 17:41:40.205  9446  9446 W System.err: 	at com.appzard.vknow360.Push.Screen1$frame.apply0(Unknown Source:10)
08-27 17:41:40.206  9446  9446 W System.err: 	at gnu.expr.ModuleBody.applyN(Unknown Source:72)
08-27 17:41:40.206  9446  9446 W System.err: 	at gnu.expr.ModuleMethod.applyN(Unknown Source:2)
08-27 17:41:40.206  9446  9446 W System.err: 	at gnu.kawa.functions.ApplyToArgs.applyN(Unknown Source:17)
08-27 17:41:40.206  9446  9446 W System.err: 	at gnu.kawa.functions.Apply.applyN(Unknown Source:7)
08-27 17:41:40.206  9446  9446 W System.err: 	at gnu.mapping.ProcedureN.apply2(Unknown Source:9)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.appzard.vknow360.Push.Screen1.dispatchEvent(Unknown Source:28)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.google.appinventor.components.runtime.EventDispatcher.dispatchEvent(Unknown Source:10)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.google.appinventor.components.runtime.Button.Click(Unknown Source:5)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.google.appinventor.components.runtime.Button.click(Unknown Source:0)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.google.appinventor.components.runtime.ButtonBase.onClick(Unknown Source:0)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.view.View.performClick(View.java:7590)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.view.View.performClickInternal(View.java:7567)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.view.View$PerformClick.run(View.java:29724)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.os.Looper.loopOnce(Looper.java:223)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.os.Looper.loop(Looper.java:324)
08-27 17:41:40.206  9446  9446 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:8378)
08-27 17:41:40.206  9446  9446 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1059)
08-27 17:41:40.206  9446  9446 W System.err: Caused by: java.lang.ExceptionInInitializerError
08-27 17:41:40.206  9446  9446 W System.err: 	at kotlinx.coroutines.channels.ChannelKt.Channel(Unknown Source:63)
08-27 17:41:40.206  9446  9446 W System.err: 	at kotlinx.coroutines.channels.ChannelKt.Channel$default(Unknown Source:16)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.onesignal.common.threading.Waiter.<init>(Unknown Source:6)
08-27 17:41:40.206  9446  9446 W System.err: 	at com.onesignal.core.internal.preferences.impl.PreferencesService.<init>(Unknown Source:4)
08-27 17:41:40.206  9446  9446 W System.err: 	... 45 more
08-27 17:41:40.206  9446  9446 W System.err: Caused by: java.lang.ClassCastException
08-27 17:41:40.206  9446  9446 W System.err: 	at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:365)
08-27 17:41:40.206  9446  9446 W System.err: 	at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(AtomicReferenceFieldUpdater.java:116)
08-27 17:41:40.206  9446  9446 W System.err: 	at kotlinx.coroutines.channels.AbstractSendChannel.<clinit>(Unknown Source:6)
08-27 17:41:40.206  9446  9446 W System.err: 	... 49 more

I would like to mention that I am not a native android developer, instead I write extensions for App Inventor with codes. I changed few things in Work Manager and wrote manifest manually.

Seems to be similar to this:
#1811
Apk is compiled with R8

@ahmtbrk
Copy link

ahmtbrk commented Sep 3, 2023

Not publishing the proguard rules of version 5.0 is a big novice. Not good for such a big company. Release proguard rules for 5.x versions urgently.

@devmuaz
Copy link

devmuaz commented Sep 7, 2023

I'm getting the same issue reported by Firebase Crashlytics.
Got more than 90K crashes in about 2 hours only!

Here's a sample of one of the crashes copied from Firebase:

# Crashlytics - Stack trace
# Application: com.talabatey
# Platform: android
# Version: 11.1 (451)
# Issue: 7732b1cfe52d602010e84d15e6b3b429
# Session: 64F53C86024D00014791994FDD36087E_DNE_0_v2
# Date: Mon Sep 04 2023 05:10:14 GMT+0300 (Arabian Standard Time)

Fatal Exception: java.lang.RuntimeException: Unable to create application com.talabatey.v2.TalabateyApp: java.lang.reflect.InvocationTargetException
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7511)
       at android.app.ActivityThread.access$1600(ActivityThread.java:310)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Caused by java.lang.reflect.InvocationTargetException:
       at java.lang.reflect.Constructor.newInstance0(Constructor.java)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:90)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:83)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:424)
       at com.onesignal.OneSignal.initWithContext(OneSignal.kt:126)
       at com.talabatey.v2.TalabateyApp.onCreate(TalabateyApp.kt:68)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1211)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7506)
       at android.app.ActivityThread.access$1600(ActivityThread.java:310)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Caused by java.lang.Exception: Unrecognized operation: login-user-from-subscription
       at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:58)
       at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:27)
       at com.onesignal.common.modeling.ModelStore.load(ModelStore.kt:129)
       at com.onesignal.core.internal.operations.impl.OperationModelStore.<init>(OperationModelStore.kt:30)
       at java.lang.reflect.Constructor.newInstance0(Constructor.java)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:90)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:83)
       at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
       at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
       at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:424)
       at com.onesignal.OneSignal.initWithContext(OneSignal.kt:126)
       at com.talabatey.v2.TalabateyApp.onCreate(TalabateyApp.kt:68)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1211)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7506)
       at android.app.ActivityThread.access$1600(ActivityThread.java:310)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

heartbeat-information-executor:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

MessengerIpcClient:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1188)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:905)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

AsyncTask #1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:922)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

firebase-installations-executor-٢:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

heartbeat-information-executor:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Adjust-pool-32-thread-1-ActivityHandler:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at com.adjust.sdk.GooglePlayServicesClient$GooglePlayServicesConnection.getBinder(GooglePlayServicesClient.java:89)
       at com.adjust.sdk.GooglePlayServicesClient.getGooglePlayServicesInfo(GooglePlayServicesClient.java:54)
       at com.adjust.sdk.DeviceInfo.reloadPlayIds(DeviceInfo.java:135)
       at com.adjust.sdk.ActivityHandler.initI(ActivityHandler.java:786)
       at com.adjust.sdk.ActivityHandler.access$000(ActivityHandler.java:42)
       at com.adjust.sdk.ActivityHandler$1.run(ActivityHandler.java:242)
       at com.adjust.sdk.scheduler.SingleThreadCachedScheduler.tryExecuteRunnable(SingleThreadCachedScheduler.java:112)
       at com.adjust.sdk.scheduler.SingleThreadCachedScheduler.access$000(SingleThreadCachedScheduler.java:12)
       at com.adjust.sdk.scheduler.SingleThreadCachedScheduler$3.run(SingleThreadCachedScheduler.java:83)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
       at java.util.concurrent.FutureTask.run(FutureTask.java:264)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

FinalizerDaemon:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:203)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:224)
       at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:300)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

awaitEvenIfOnMainThread task continuation executor1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64)
       at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27)
       at java.lang.Thread.run(Thread.java:1012)

GmsDynamite:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.Object.wait(Object.java:568)
       at com.google.android.gms.dynamite.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)

TAG:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
       at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
       at com.google.android.gms.tasks.zzad.zza(com.google.android.gms:play-services-tasks@@18.0.1:1)
       at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@18.0.1:7)
       at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken(FirebaseMessaging.java:626)
       at com.google.firebase.messaging.SyncTask.maybeRefreshToken(SyncTask.java:123)
       at com.google.firebase.messaging.SyncTask.run(SyncTask.java:93)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
       at java.util.concurrent.FutureTask.run(FutureTask.java:264)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

Crashlytics Exception Handler1:
       at dalvik.system.VMStack.getThreadStackTrace(VMStack.java)
       at java.lang.Thread.getStackTrace(Thread.java:1841)
       at java.lang.Thread.getAllStackTraces(Thread.java:1909)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsReportDataCapture.populateThreadsList(CrashlyticsReportDataCapture.java:295)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsReportDataCapture.populateExecutionData(CrashlyticsReportDataCapture.java:266)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsReportDataCapture.populateEventApplicationData(CrashlyticsReportDataCapture.java:216)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsReportDataCapture.captureEventData(CrashlyticsReportDataCapture.java:102)
       at com.google.firebase.crashlytics.internal.common.SessionReportingCoordinator.persistEvent(SessionReportingCoordinator.java:274)
       at com.google.firebase.crashlytics.internal.common.SessionReportingCoordinator.persistFatalEvent(SessionReportingCoordinator.java:127)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsController$2.call(CrashlyticsController.java:203)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsController$2.call(CrashlyticsController.java:188)
       at com.google.firebase.crashlytics.internal.common.CrashlyticsBackgroundWorker$3.then(CrashlyticsBackgroundWorker.java:105)
       at com.google.android.gms.tasks.zze.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64)
       at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27)
       at java.lang.Thread.run(Thread.java:1012)

FinalizerWatchdogDaemon:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.Object.wait(Object.java:568)
       at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:385)
       at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:365)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

Firebase-Messaging-Topics-Io:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1176)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:905)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

OSH_LocationHandlerThread:
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:186)
       at android.os.Looper.loop(Looper.java:313)
       at android.os.HandlerThread.run(HandlerThread.java:67)

ReferenceQueueDaemon:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.Object.wait(Object.java:568)
       at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:232)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

queued-work-looper-timer:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.util.TimerThread.mainLoop(Timer.java:560)
       at java.util.TimerThread.run(Timer.java:513)

pool-20-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

queued-work-looper:
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:186)
       at android.os.Looper.loop(Looper.java:313)
       at android.os.HandlerThread.run(HandlerThread.java:67)

WM.task-4:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Firebase-Messaging-Init:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1176)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:905)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

pool-12-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Measurement Worker:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at m.iy.run(:com.google.android.gms.dynamite_measurementdynamite@233316044@23.33.16 (190400-0):71)

Firebase-Messaging-Init:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1176)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:905)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

pool-22-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Thread-5:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

WM.task-3:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

queued-work-looper-data:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Thread-6:
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:637)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:592)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.createNewWorker(CoroutineScheduler.kt:481)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.tryCreateWorker(CoroutineScheduler.kt:439)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.signalBlockingWork(CoroutineScheduler.kt:420)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.dispatch(CoroutineScheduler.kt:401)
       at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.dispatchWithContext$kotlinx_coroutines_core(Dispatcher.kt:103)
       at kotlinx.coroutines.scheduling.UnlimitedIoScheduler.dispatch(Dispatcher.kt:39)
       at kotlinx.coroutines.internal.LimitedDispatcher.dispatch(LimitedDispatcher.kt:67)
       at kotlinx.coroutines.scheduling.DefaultIoScheduler.dispatch(Dispatcher.kt:65)
       at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:322)
       at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
       at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25)
       at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:174)
       at kotlinx.coroutines.BuildersKt.withContext(:1)
       at com.onesignal.notifications.internal.data.impl.NotificationRepository.deleteExpiredNotifications(NotificationRepository.kt:34)
       at com.onesignal.notifications.internal.NotificationsManager$1.invokeSuspend(NotificationsManager.kt:58)
       at com.onesignal.notifications.internal.NotificationsManager$1.invoke(:8)
       at com.onesignal.notifications.internal.NotificationsManager$1.invoke(:2)
       at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1$1.invokeSuspend(ThreadUtils.kt:61)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
       at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
       at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
       at kotlinx.coroutines.BuildersKt.runBlocking(:1)
       at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
       at kotlinx.coroutines.BuildersKt.runBlocking$default(:1)
       at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1.invoke(ThreadUtils.kt:60)
       at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1.invoke(ThreadUtils.kt:59)
       at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

ScionFrontendApi:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

com.google.firebase.crashlytics.startup1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64)
       at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27)
       at java.lang.Thread.run(Thread.java:1012)

pool-3-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

firebase-installations-executor-١:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
       at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

pool-19-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

pool-21-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Firebase-Messaging-Topics-Io:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1176)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:905)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:1012)

WM.task-2:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

WM.task-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

@xanscale
Copy link

xanscale commented Sep 9, 2023

any news?

@vfilho
Copy link

vfilho commented Sep 11, 2023

I'm having the same issue. Help, please.

@tajchert
Copy link
Author

I ended up removing OneSignal, but I might realize it might not be so easy for others to do it right away.

@xanscale
Copy link

xanscale commented Sep 12, 2023

@Petr-Kubista
Copy link

What's the status on this? It is holding back a big release for us and going back to earlier OneSignal version is not really an option, as it is not compatible with other latest versions of firebase packages and gradle.

@devmuaz
Copy link

devmuaz commented Sep 18, 2023

This issue has caused serious drop of our users (our app is used by over 5M users), and it seems no one cares about it.
Currently, we've ended up downgrading to the previous version com.onesignal:OneSignal:[4.0.0, 4.99.99] and handled the notification permission manually on devices running Android 13 (API Level 33) and higher.

@israellot
Copy link

Nothing yet?

@ThadeuConstantino
Copy link

Please, I don't want to end up removing OneSignal.
Any updates?

@emawby
Copy link
Contributor

emawby commented Sep 21, 2023

The proguard issues should be resolved in version 5.0.1. If anyone is still seeing crashes only for release (minify) builds please tag me and post the stack trace

@vfilho
Copy link

vfilho commented Sep 21, 2023

We don't have the minify enabled for release builds, but we are still seeing this crash.

@emawby
Copy link
Contributor

emawby commented Sep 21, 2023

I apologize this seems like a separate issue, I have identified the issue and it will be resolved in the next release. Thank you for your patience.

@israellot
Copy link

ETA @emawby ?

@vfilho
Copy link

vfilho commented Sep 21, 2023

Any possible workaround until we wait for the next release @emawby ? I'm using it on Unity.

@Rudieri34
Copy link

Same Issue Here

@chriscborg
Copy link

What's the ETA on this release please? We're getting thousands of crashes because of this and we can't rollback the version number at this stage.

@devmuaz
Copy link

devmuaz commented Sep 25, 2023

I think they've fixed it and released a new version v5.0.1.
I haven't tried it yet, in our case we've rolled back to the other version for now!

@chriscborg
Copy link

I tried installing v5.0.1 but I'm still getting the same crashes...

@devmuaz
Copy link

devmuaz commented Sep 25, 2023

@chriscborg Yeah, kinda figured!
If the issue still persists, try rolling back to v4.x.x and handle notifications permission manually on devices running Android 13 (API level 33) and higher.

I'm pretty much sure they're trying to fix this ASAP but to make sure everything is stable for you right now, try to rollback as much as you can until a stable version gets released!

@jkasten2
Copy link
Member

jkasten2 commented Sep 29, 2023

This specific Unrecognized operation: login-user-from-subscription issue has been resolved in OneSignal-Android-SDK 5.0.2

If you are still seeing this exact issue after updating let us know and we can reopen this issue.

@Neferetheka
Copy link

I confirm the issue is still there in V5.0.2

@emawby
Copy link
Contributor

emawby commented Oct 10, 2023

@Neferetheka Can you provide more details on the error. There have been multiple crashes on startup with different stack traces so if you could post it that would be very helpful.

@ucf0709
Copy link

ucf0709 commented Nov 13, 2023

W/System.err: java.lang.reflect.InvocationTargetException
W/System.err: at java.lang.reflect.Constructor.newInstance0(Native Method)
W/System.err: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
W/System.err: at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:89)
W/System.err: at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
W/System.err: at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
W/System.err: at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:82)
W/System.err: at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
W/System.err: at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
W/System.err: at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:82)
W/System.err: at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79)
W/System.err: at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67)
W/System.err: at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:474)
W/System.err: at com.onesignal.OneSignal.initWithContext(OneSignal.kt:135)

Still hapening on v5.0.4

@juarezfranco
Copy link

juarezfranco commented Jun 7, 2024

flutter: 3.19.6
onesignal_flutter: ^5.2.0
android os: 5.0

java.lang.NoSuchMethodError: No interface method getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Ljava/util/Map; or its super classes (declaration of 'java.util.Map' appears in /system/framework/core-libart.jar)
E/OneSignal( 2175): 	at com.onesignal.user.internal.operations.impl.executors.LoginUserFromSubscriptionOperationExecutor.loginUser(LoginUserFromSubscriptionOperationExecutor.kt:50)

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