-
Notifications
You must be signed in to change notification settings - Fork 23
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
NullPointerException at DefaultEventProcessor #193
Comments
Hello @orafaaraujo, thank you for the report on this issue. While this event loop call should not cause any real issues for your application (the event loop is on a separate thread that doesn't impact getting and using flag values), this is still something that we need to look into. While there is no exact ETA yet, we also have a new major version in the pipeline that will improve Android in general, we will reply on this either when we have new information or when the new version comes out. Filed Internally as 175693. |
Android system sets default global uncaught exception handler to kill whole process. It doesn't matter that Exception is thrown on separate thread.
This impacts not just getting/using flags, but whole production application is terminated. That's what being reported in stack-trace: |
@audkar Thank you for the information. @orafaaraujo We have released 4.0.0 which fully replaced the DefaultEventProcessor that was in android with an improved one. If it is possible for you to upgrade, can you upgrade and let us know if this issue is still happening? For the upgrade path, please refer to https://github.com/launchdarkly/android-client-sdk/blob/main/CHANGELOG.md#400---2022-12-07 |
try to use
while initializing a client. LDContext should have not empty key |
Thank you @DmytroBatyuk for the answer - we are currently looking into potentially revamping the key generation behavior as Android requiring the placeholder key is something that can be missed and some other LaunchDarkly SDKs don't do that. |
Hello
Describe the bug
We are facing a crash in the library.
To reproduce
We're unable to reproduce it, but according to our logs on Firebase, it happens once the app goes to the background.
Expected behavior
No crash at all
Logs
The stack trace
SDK version
3.1.5
Language version, developer tools
Kotlin 1.6, AGP 7.3.1, Android 33
OS/platform
Android 12 (API 33)
Additional context
The text was updated successfully, but these errors were encountered: