You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android OS version affected:4.3.1 (latest major upgrade for this phone)
Beacon hardware version:F3.3
Description
According to Crashlytics, we have monitored an old phone whose crashing when receiving a notification.
NullPointerException's are like game overs 🎮
I'm not sure if it's a real bug because:
it's a really old phone
it seems to support only Bluetooth 2.1, and I cannot find any BLE mention
Additional information
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.estimote.proximity_sdk.trigger.TriggerBroadcastReceiver: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2431)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(NativeStart.java)
and
Caused by java.lang.NullPointerException
at android.app.NotificationManager.notify(NotificationManager.java:128)
at com.estimote.proximity_sdk.trigger.TriggerBroadcastReceiver.postNotification(TriggerBroadcastReceiver.kt:25)
at com.estimote.proximity_sdk.trigger.TriggerBroadcastReceiver.onReceive(TriggerBroadcastReceiver.kt:18)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(NativeStart.java)
The text was updated successfully, but these errors were encountered:
Thanks @MBach, the NPE was kinda similar to the previous #21 issue. Will be fixed in the next release. Anyway - I'm not sure how exactly this happened on Android 4.3.1 - ProximityTriggerBuilder should not allow to build a full ProximityTrigger on phones with Android below API 26. Were you calling the TriggerBroadcastReceiver by yourself?
I'm not calling TriggerBroadcastReceiver by myself. I don't even call ProximityTriggerBuilder nor ProximityTrigger. I just compile with latest SDK (targetSdkVersion, compileSdkVersion 27) and set minSdkVersion to 18, which is Android 4.3
Prerequisites
Basic information
Estimote SDK version:
0.3.3
Android devices affected: Motorola Defy Mini (XT320)
Android OS version affected:
4.3.1
(latest major upgrade for this phone)Beacon hardware version:
F3.3
Description
According to Crashlytics, we have monitored an old phone whose crashing when receiving a notification.
NullPointerException's are like game overs 🎮
I'm not sure if it's a real bug because:
Additional information
and
The text was updated successfully, but these errors were encountered: