Skip to content
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 when kickstarting FusionAuth following MaintenanceModeUpgrade #1382

Closed
bguyza opened this issue Sep 3, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bguyza
Copy link

bguyza commented Sep 3, 2021

NullPointerException when kickstarting FusionAuth following MaintenanceModeUpgrade

Description

When spinning up FusionAuth, if we enter maintenance mode first, kickstart is suspended until the user completes a task such as a search index upgrade.

Once this is completed, the initial http request (ie. https://localhost:9011/) executes immediately after kickstart. This is problematic if the default tenant Id is being updated in the synchronous portion of kickstart because the caches are not refreshed fast enough for the next call on the stack.

This results in a NullPointerException.

Affects versions

= 1.30.2

Steps to reproduce

Steps to reproduce the behavior:

  1. Create new database
  2. Delete the search index
  3. Run FusionAuth

Expected behavior

We should not run into any errors when starting up.

@bguyza bguyza added the bug Something isn't working label Sep 3, 2021
@bguyza bguyza self-assigned this Sep 3, 2021
@robotdan robotdan added this to the 1.30.2 milestone Sep 8, 2021
@robotdan robotdan added this to Backlog in FusionAuth Issues via automation Sep 8, 2021
@robotdan robotdan moved this from Backlog to In progress in FusionAuth Issues Sep 8, 2021
@robotdan
Copy link
Member

Merged PRs, and I'll resolve comments and then move this to code complete.

@robotdan robotdan moved this from In progress to Code complete in FusionAuth Issues Sep 14, 2021
@mooreds mooreds closed this as completed Oct 13, 2021
FusionAuth Issues automation moved this from Code complete to Done Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

3 participants