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

Bootstrap fails w/ NPE - PolarisApplicationConfig.serviceLocator is null #580

Open
snazy opened this issue Dec 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@snazy
Copy link
Member

snazy commented Dec 18, 2024

Describe the bug

After adding fixes for #560, #561, #562, there's another new NPE that prevents bootstrap w/ eclipselink:

java.lang.NullPointerException: Cannot invoke "org.glassfish.hk2.api.ServiceLocator.getService(java.lang.Class, java.lang.annotation.Annotation[])" because "this.serviceLocator" is null
        at org.apache.polaris.service.dropwizard.config.PolarisApplicationConfig.findService(PolarisApplicationConfig.java:189)
	at org.apache.polaris.service.dropwizard.BootstrapRealmsCommand.run(BootstrapRealmsCommand.java:50)
	at org.apache.polaris.service.dropwizard.BootstrapRealmsCommand.run(BootstrapRealmsCommand.java:37)
	at io.dropwizard.core.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
	at io.dropwizard.core.cli.Cli.run(Cli.java:78)
	at io.dropwizard.core.Application.run(Application.java:94)
	at org.apache.polaris.service.dropwizard.PolarisApplication.main(PolarisApplication.java:154)

I'm not sure whether it's worth to fix all these issues but instead wait for #469.

To Reproduce

No response

Actual Behavior

No response

Expected Behavior

No response

Additional context

No response

System information

No response

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
None yet
Development

No branches or pull requests

1 participant