-
Notifications
You must be signed in to change notification settings - Fork 39
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
fix(EventRescheduler): catch exception for event service restart #446
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall changes lgtm. Just a minor concern, that this seems like a quick but temporary fix, we might have to identify the root cause of exception instead of suppressing it. But I am approving it so this could get merged soon as possible.
* See the License for the specific language governing permissions and * | ||
* limitations under the License. * | ||
***************************************************************************/ | ||
// Copyright 2016,2021,2023, Optimizely, Inc. and contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we revert this change and just add 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnoman09 I have been changing the copyright format to open-ended (//...) gradually.
A good point. We'll keep following on this issue. |
(cherry picked from commit 585f099)
* fix(EventRescheduler): catch exception for event service restart (#446) (cherry picked from commit 585f099) * [FSSDK-8952] doc: Full Stack to Feature Experimentation Rename (#450) * [FSSDK-8952] doc: Full Stack to Feature Experimentation Rename --------- Co-authored-by: mnoman09 <m.nomanshoaib09@gmail.com> (cherry picked from commit 390c464) * changed java version to 3.10.3 * [FSSDK-8952] chore: prepare for release 3.13.4 (#452) * chore: prepare for release 3.13.4 * set java core version to 3.10.3 * removed comment * Revert "removed comment" This reverts commit a326808. * Revert "set java core version to 3.10.3" This reverts commit fe586f6. --------- (cherry picked from commit cbcdd1e) --------- Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
Summary
Rare exceptions (IllegalStateException: "WorkManager is not initialized properly...") when
WorkManager.getInstance()
is called even without any custom WorkManager configuration. It looks like a WorkManager timing issue.Those rare exceptions are gracefully handled with this fix. It's safe since event-dispatch service will be scheduled again on next events.
Test plan
Issues