Open ctabin opened 1 year ago
hey @ctabin I am a beginner contributer. Can you assign this issue to me and guide me through it? thank you.
Hi @monish-byte, Unfortunately I can't help about it, I'm also just a contributor not part of Payara/GlassFish and without any access to the repository. Probably @shub8968 can assign this issue to whomever can handle it.
FYI the problem is still present with the Hibernate 6.2.1.Final and payara-embedded-all 6.2023.3.
@shub8968 any news on this? It is a complete blocker to payara 6 adoption for us.
Hi @ctabin @grommitz
I have escalated this issue to the platform development team as FISH-7338
Hi @monish-byte
Refer to our blog on how to contribute to Payara - https://blog.payara.fish/how-to-contribute-to-payara-server
FYI the problem is still present with Hibernate 6.2.2.Final and payara-embedded-all 6.2023.4.
FYI here is a hint to circumvent this problem and allow the application to be deployed.
Note that the entities need to be enhanced during the compilation then.
Thanks @ctabin that worked for me (Hibernate 6.2.2, Payara Micro 6.2023.4)
Since this issue is still open in GlassFish, I've create a project to reproduce the problem also on Payara.
Is there any plans to fix this? Already a year passed after issue reported and it's still not fixed. Confirming to fail the same way on Payara 6.2024.7 and Hibernate 6.5.2.Final
Is there any workaround to temporary fix it in payara?
We've to downgrade Hibernate to 6.1.7.Final for now (this version hit end-of-life already)
Brief Summary
Hello,
We just upgraded our persistence library from Hibernate 6.1.7 to 6.2.0. With this new version, our application crashes during the deployment with a lifecycle error:
This has been reported in Hibernate in HHH-16299, but it seems related to Payara/GlassFish (there is a reproducer here).
It seems to be related to this PR and the variable
hibernate.bytecode.provider
, but even when forcing it tonone
inpersistence.xml
the same error occurs.Environment
Expected Outcome
Application should deploy as normally.
Current Outcome
Crash with java.lang.ClassCircularityError.
Reproducer
https://github.com/grommitz/hibernate-deployment-issue-reproducer
Operating System
Linux Debian
JDK Version
JDK 17
Payara Distribution
Payara Embedded All