Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

java.lang.IllegalStateException #13

Open
kovalyovkirill opened this issue Mar 27, 2019 · 4 comments
Open

java.lang.IllegalStateException #13

kovalyovkirill opened this issue Mar 27, 2019 · 4 comments

Comments

@kovalyovkirill
Copy link

In google console shows crashes at some devices, mostly at Honor. This stack trace output.

java.lang.IllegalStateException:
at com.yandex.metrica.impl.bm. (SourceFile:33)
at com.yandex.metrica.impl.bp.b (SourceFile:138)
at com.yandex.metrica.impl.bp.c (SourceFile:152)
at com.yandex.metrica.YandexMetrica.reportError (SourceFile:129)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin.reportError (AppMetricaPlugin.java:240)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin.access$200 (AppMetricaPlugin.java:30)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin$1.run (AppMetricaPlugin.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run (Thread.java:764)

@kovalyovkirill
Copy link
Author

Looks like, it's because of trying to send event data before app metrika is inited, Need some api which implement appInititialization state

@ghost
Copy link

ghost commented May 4, 2019

I confirm this problem

@ghost
Copy link

ghost commented May 4, 2019

java.lang.NoClassDefFoundError:
at com.yandex.metrica.impl.ob.hj.a (SourceFile:62)
at com.yandex.metrica.impl.ob.hm.a (SourceFile:41)
at com.yandex.metrica.impl.ob.ho$b.handleMessage (SourceFile:62)
at android.os.Handler.dispatchMessage (Handler.java:109)
at android.os.Looper.loop (Looper.java:207)
at android.os.HandlerThread.run (HandlerThread.java:65)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

@ghost
Copy link

ghost commented May 4, 2019

Android 9
Galaxy S8+ (dream2lte)
Honor 10

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

No branches or pull requests

1 participant