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

DataSourceSchemaCreatedPublisher.getPersistenceProviderRootPackage fails with a NullPointerException when using a custom LocalContainerEntityManagerFactoryBean that has no JpaVendorAdapter #17935

wilkinsona opened this issue Aug 22, 2019 · 0 comments


Copy link

commented Aug 22, 2019

From this question on Stack Overflow:

Caused by: java.lang.NullPointerException: null
at org.springframework.boot.autoconfigure.orm.jpa.DataSourceInitializedPublisher$DataSourceSchemaCreatedPublisher.getPersistenceProviderRootPackage( ~[spring-boot-autoconfigure-2.1.4.RELEASE.jar:2.1.4.RELEASE]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet( ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
at ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
at ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.