-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
Hello everybody
We were debugging our PROD incident where we were getting errors like:
-
ERROR 500: {"details":"Error id cff13a4b-adf8-4ca9-92af-20ceb5a21bf2-1, org.hibernate.HibernateException: java.util.ConcurrentModificationException","stack":"org.hibernate.HibernateException: java.util.ConcurrentModificationException
-
ERROR 500: {"details":"Error id cff13a4b-adf8-4ca9-92af-20ceb5a21bf2-2, org.hibernate.HibernateException: java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "this.batchParamValues" is null"
-
ERROR 500: {"details":"Error id cff13a4b-adf8-4ca9-92af-20ceb5a21bf2-3, org.hibernate.HibernateException: java.lang.NullPointerException: Cannot invoke "java.util.Collection.toArray()" because "c" is null"
We were able to create reproducer:
https://github.com/DudekJakub/hibernate-issue-reproducer
Probably it is connected to below:
Enhance defaults in Hibernate ORM issue:
#41698
We understand that property hibernate.order_inserts is unsupported in Quarkus but recommended in hibernate.
We've seen that there is ongoing work on Panache2 so we just wanted to leave reproducer since those errors are difficult to invoke without heavy load.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a or ver
No response
Output of java -version
21.0.7
Quarkus version or git rev
3.28.2
Build tool (ie. output of mvnw --version or gradlew --version)
gradle-9.1.0
Additional information
No response