smartlook / smartlook-android-sdk

5 stars 1 forks source link

[Unity] Random Crashes because of events #30

Closed Sh3rawi closed 5 years ago

Sh3rawi commented 5 years ago

Hello Guys, Using the latest unity android sdk (1.0.3), there are some devices that randomly crash because of recording events(this was tested by omitting sending events and nothing crashes). There is no exact scenario that we could come up with that crashes them. Devices: -Device model : HUAWEI BLL-L21, Android OS version: 7 -Device model : HUAWEI INE-LX1, Android OS version: 9

StackTrace: Caused by com.smartlook.sdk.smartlook.a.a.d$b at com.smartlook.sdk.smartlook.a.a.d.b + 177(SourceFile:177) at com.smartlook.sdk.smartlook.a.a.d.b + 117(SourceFile:117) at com.smartlook.sdk.smartlook.a.a.d.a + 58(SourceFile:58) at com.smartlook.sdk.smartlook.analytics.b.b + 161(SourceFile:161) at com.smartlook.sdk.smartlook.analytics.b.i + 129(SourceFile:129) at com.smartlook.sdk.smartlook.analytics.b.a + 42(SourceFile:42) at com.smartlook.sdk.smartlook.analytics.a.b + 68(SourceFile:68) at com.smartlook.sdk.smartlook.analytics.a.b + 61(SourceFile:61) at com.smartlook.sdk.smartlook.analytics.a.a + 55(SourceFile:55) at com.smartlook.sdk.smartlook.a.a.d.b + 95(SourceFile:95) at com.smartlook.sdk.smartlook.a.a.d.a + 25(SourceFile:25) at com.smartlook.sdk.smartlook.a.a.d$l$a.run + 69(SourceFile:69) at android.os.Handler.handleCallback + 891(Handler.java:891) at android.os.Handler.dispatchMessage + 102(Handler.java:102) at android.os.Looper.loop + 207(Looper.java:207) at android.app.ActivityThread.main + 7539(ActivityThread.java:7539) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 524(RuntimeInit.java:524) at com.android.internal.os.ZygoteInit.main + 958(ZygoteInit.java:958)

I attached a full stack trace log from fabric com.boundless.jawaker_issue_crash_5D483BF001690001285726A49DF67062_DNE_0_v2.txt

Also there another crash: Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void com.smartlook.sdk.smartlook.analytics.c.e.c.a()' on a null object reference at com.smartlook.sdk.smartlook.analytics.c.e.d$1.run + 31(SourceFile:31) at android.os.AsyncTask$SerialExecutor$1.run + 255(AsyncTask.java:255) at java.util.concurrent.ThreadPoolExecutor.runWorker + 1133(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run + 607(ThreadPoolExecutor.java:607) at java.lang.Thread.run + 776(Thread.java:776) Also attached is its stack trace log: com.boundless.jawaker_issue_crash_5D480DB6001B0001670C6D3A8344C0E6_DNE_0_v2.log

adamblack commented 5 years ago

Hi @Sh3rawi ,

thank you for info! We will release new version today.

adamblack commented 5 years ago

Fixed in version.