Skip to content

Fix NPE caused by uninitialized static variables in interfaces in native images #3256

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dev-jonghoonpark
Copy link
Contributor

related issue: #3168

The DEFAULT_SCHEDULER variable in the BaseAdvisor interface was being initialized to null when running a native image.

To address this issue, a separate SchedulerHolder class was created to handle the variable initialization properly and ensure it is initialized as expected.

@dev-jonghoonpark dev-jonghoonpark force-pushed the GH-3168-fix-npe-in-native-image branch from a10815b to 4dd82c3 Compare May 20, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant