Skip to content

[Bug]: Multiple ANR's reports caused by OneSignal #1024

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

Open
2 of 3 tasks
PachecoLpG opened this issue Apr 17, 2025 · 1 comment
Open
2 of 3 tasks

[Bug]: Multiple ANR's reports caused by OneSignal #1024

PachecoLpG opened this issue Apr 17, 2025 · 1 comment

Comments

@PachecoLpG
Copy link

What happened?

Im having problems with many reports of ANR's caused by OneSignal
Image

Stacktrace 1

java.util.LinkedHashMap.get (LinkedHashMap.java:554)
java.util.Collections$SynchronizedMap.get (Collections.java:2956)
com.onesignal.common.modeling.Model.getOptAnyProperty (Model.kt:648)
com.onesignal.common.modeling.Model.getOptStringProperty (Model.kt:565)
com.onesignal.common.modeling.Model.getStringProperty (Model.kt:491)
com.onesignal.common.modeling.Model.getStringProperty$default (Model.kt:488)
com.onesignal.common.modeling.Model.getId (Model.kt:59)
com.onesignal.common.modeling.ModelStore.load (ModelStore.kt:184)
com.onesignal.core.internal.operations.impl.OperationModelStore.loadOperations (OperationModelStore.kt:32)
com.onesignal.core.internal.operations.impl.OperationRepo.loadSavedOperations$com_onesignal_core (OperationRepo.kt:426)
com.onesignal.core.internal.operations.impl.OperationRepo$start$1.invokeSuspend (OperationRepo.kt:100)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:487)
java.util.concurrent.FutureTask.run (FutureTask.java:264)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:307)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
java.lang.Thread.run (Thread.java:1012)

Stacktrace 2

java.lang.reflect.Executable.getMethodNameInternal (Native method)
java.lang.reflect.Method.getName (Method.java:115)
java.lang.reflect.Method$1.compare (Method.java:72)
java.lang.reflect.Method$1.compare (Method.java:67)
libcore.util.CollectionUtils.removeDuplicates (CollectionUtils.java:89)
java.lang.Class.getMethods (Class.java:2226)
com.onesignal.common.modeling.Model.initializeFromJson (Model.kt:98)
com.onesignal.core.internal.operations.impl.OperationModelStore.create (OperationModelStore.kt:67)
com.onesignal.core.internal.operations.impl.OperationModelStore.create (OperationModelStore.kt:30)
com.onesignal.common.modeling.ModelStore.load (ModelStore.kt:175)
com.onesignal.core.internal.operations.impl.OperationModelStore.loadOperations (OperationModelStore.kt:32)
com.onesignal.core.internal.operations.impl.OperationRepo.loadSavedOperations$com_onesignal_core (OperationRepo.kt:426)
com.onesignal.core.internal.operations.impl.OperationRepo$start$1.invokeSuspend (OperationRepo.kt:100)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:487)
java.util.concurrent.FutureTask.run (FutureTask.java:264)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:307)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
java.lang.Thread.run (Thread.java:1012)

Steps to reproduce?

No ideia how to reproduce

What did you expect to happen?

Not trigger ANR's

OneSignal Flutter SDK version

5.3.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@MontekristMedia
Copy link

We are experiencing major ANR problems too, just of a different kind. It seems weird that nobody from the team has answered to you in 4 days though.

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

No branches or pull requests

2 participants