-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Nullpointer at SchemaManagementIntegrator.disintegrate #20111
Comments
@Sanne |
All Stack:
|
hi @leonardowestphal , thanks for the report! yes I can see a simple mistake :) will fix it soon. |
@Sanne |
actually while I can see how that could theoretically produce an NPE, I'm not able to reproduce this. Do you think you could contribute an integration test please? |
Maybe I just need more details from your configuration. Is your SessionFactory named in some way? |
I've pushed a sketch here : - https://github.com/quarkusio/quarkus/compare/main...Sanne:SchemaManagementIntegration?expand=1 Would rally like to be able to reproduce it before sending a PR though. Going to sleep, let's look at it with a fresh mind tomorrow :) |
It's not named. The datasource and hibernate configurations in my application.properties are the same as in the example of this issue. Other Settings I have in Dev mode:
|
I didn't understand why it goes into this method. Maybe if you give me more details I can help you to reproduce it. I didn't have time to investigate, sorry... |
No worries, I understand. I'll try to tinker a bit more with this, worse case we merge my little patch as it makes sense either way, and hopefully you'll be able to let me know it solved the problem after the next release. |
@leonardowestphal does it happen only in "dev mode"? |
Hi @Sanne |
I still can't reproduce, I'll send my fix without a test. Thanks! |
Thanks! |
Describe the bug
I upgraded from version 2.1.2.Final to version 2.2.2.Final and now I got this error on Quarkus startup:
I'm using 2 persistences units with postgres Database. Example:
I'm using cache. Example:
Almost all objects attributes on method 'SchemaManagementIntegrator.disintegrate' are empty or with their default values :
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "11.0.11"
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.2.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: