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

Hibernate NPE with Quarkus 1.10.3.Final #13791

Closed
jw941 opened this issue Dec 10, 2020 · 6 comments · Fixed by #13879
Closed

Hibernate NPE with Quarkus 1.10.3.Final #13791

jw941 opened this issue Dec 10, 2020 · 6 comments · Fixed by #13879
Labels
area/hibernate-orm Hibernate ORM area/persistence OBSOLETE, DO NOT USE kind/bug Something isn't working
Milestone

Comments

@jw941
Copy link

jw941 commented Dec 10, 2020

When we upgraded Quarkus from 1.9.2.Final to 1.10.3.Final, we had some NPE issue with Hibernate. When Hibernate tries to load entities with OneToMany collections that are initialized to a default value, for example List subEntities = new ArrayList(), it throws NPE when it's loaded.

A reproducer is at this repo:
https://github.com/jw941/hib-npe

Thanks.

@jw941 jw941 added the kind/bug Something isn't working label Dec 10, 2020
@ghost ghost added area/hibernate-orm Hibernate ORM area/persistence OBSOLETE, DO NOT USE labels Dec 10, 2020
@ghost
Copy link

ghost commented Dec 10, 2020

/cc @Sanne, @gsmet

@Sanne
Copy link
Member

Sanne commented Dec 10, 2020

thanks @jw941 !

Couldn't test yet, but smells like related to hibernate/hibernate-orm#3674 , @beikov ?

@beikov
Copy link
Contributor

beikov commented Dec 10, 2020

I'll take a look

@beikov
Copy link
Contributor

beikov commented Dec 10, 2020

Yeah, that issue is fixed by hibernate/hibernate-orm#3674

@gsmet
Copy link
Member

gsmet commented Dec 10, 2020

@Sanne it looks pretty serious or it's just me?

@Sanne
Copy link
Member

Sanne commented Dec 10, 2020

yes, and it's confirmed by three users already - sorry we rushed the previous release to re-converge a regression issue with Reactive.
I'll get a new release out soon.

@ghost ghost added this to the 1.11 - master milestone Dec 15, 2020
@gsmet gsmet modified the milestones: 1.11 - master, 1.10.4.Final Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hibernate-orm Hibernate ORM area/persistence OBSOLETE, DO NOT USE kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants